ga ho wrote:
> Hi,
> 
> I think there is a missing symbolic link for setclock in the Makefile of
> lfs-bootscripts-20090812 as having built LFS 6.5 I noticed the time was
> always out by an hour for example showing 22:00 BST when in fact it was 9pm
> in the UK.
> 
> In the lfs-bootscripts-20090812 Makefile there is the symbolic link:
> 
> ln -sf ../init.d/setclock    ${EXTDIR}/rc.d/rcsysinit.d/S25setclock
> 
> so I ran this symbolic link on my LFS 6.5 system and it sorted the problem
> out.
> 
> Is the missing link by accident or design?

Design.  The clock should be set by udev.

55-lfs.rules:# This causes the system clock to be set as soon as /dev/rtc 
becomes available.

55-lfs.rules:SUBSYSTEM=="rtc", MODE="0644", ACTION=="add", 
RUN+="/etc/rc.d/init.d/setclock start"

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to