> Message: 8 > Date: Fri, 11 Sep 2009 17:40:29 -0500 > From: Bruce Dubbs <bruce.du...@gmail.com> > Subject: Re: Problems with setclock in > lfs-bootscripts-20090812 LFS > 6.5 > To: LFS Developers Mailinglist <lfs-dev@linuxfromscratch.org> > Message-ID: <4aaad1dd.9050...@gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; > format=flowed > > 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 > >
Thanks, I'll double check /dev/rtc and the 55-lfs.rules on my system. Regards, Gary -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page