#2266: Set system time before bootscripts run
-------------------------------------+--------------------------------------
Reporter: d...@… | Owner: lfs-b...@…
Type: task | Status: new
Priority: normal | Milestone: 7.0
Component: Book | Version: SVN
Severity: normal | Keywords:
-------------------------------------+--------------------------------------
Comment(by br...@…):
Replying to [comment:7 bdu...@…]:
> Replying to [comment:6 br...@…]:
> > Replying to [comment:5 bdu...@…]:
>
> > > 3. Add set_hwclock. ubuntu has it in /lib/udev/, but perhaps we
should put it in /sbin.
> >
> > I'd prefer /lib/udev, but only because I don't think anything else is
going to call this...
>
> I was suggesting /sbin because I thought we were keeping /lib/udev for
the distributed files only.
Ah.
Either way would work for me, though I think of udev-specific
scripts/binaries as being in /lib/udev just because that's the only place
you can get to them without a path (AFAIK it doesn't honor $PATH). But
this is mostly-irrelevant anyway; see below...
> Of course we would change it for LFS. I was just quoting the ubuntu
file.
Oh, I get it. OK.
> > Hmm -- would it be simpler to add RUN+="/etc/rc.d/init.d/setclock
start" to the udev rule, and just kill the start symlinks? That way we
only have one file to maintain...
>
> That's a good idea. We just need to kill the S links. We still need
the K links.
Right. It also neatly sidesteps everything above. :-)
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2266#comment:8>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page