ccrisan/thingos

RaspberryPi 3 coreutils overwriting date symlink

Closed this issue · 1 comments

Upon boot on ThingOS with the Raspberry Pi 3 I had the following message:

* Setting current date using http date: invalid option -- 'D'
Try 'date --help' for more information.

I bundled the which utility to check which date binary is being installed:

# which date
/bin/date

I realized later on that I was including the gnu coreutils package which overwrites the symlink for the date binary to Busybox.

Perhaps a solution would be to use the explicit file path in the /etc/init.d/S50date file such that /bin/busybox date is called perhaps even setting a variable DATEBIN=/bin/busybox\ date and using that instead such that users can use the coreutils without having to create a separate overlay for the S50date file.

I have created a pull request with my proposed changes
#7