Changeset 63f6e21
- Timestamp:
- 05/23/2009 12:29:29 PM (15 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 55fa5a3
- Parents:
- 33f0959
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/Makefile
r33f0959 r63f6e21 73 73 ln -sf ../init.d/udev ${EXTDIR}/rc.d/rcsysinit.d/S10udev 74 74 ln -sf ../init.d/swap ${EXTDIR}/rc.d/rcsysinit.d/S20swap 75 ln -sf ../init.d/setclock ${EXTDIR}/rc.d/rcsysinit.d/S25setclock76 75 ln -sf ../init.d/checkfs ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs 77 76 ln -sf ../init.d/mountfs ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs … … 124 123 ln -sf ../init.d/udev ${EXTDIR}/rc.d/rcsysinit.d/S10udev 125 124 ln -sf ../init.d/swap ${EXTDIR}/rc.d/rcsysinit.d/S20swap 126 ln -sf ../init.d/setclock ${EXTDIR}/rc.d/rcsysinit.d/S25setclock127 125 ln -sf ../init.d/checkfs ${EXTDIR}/rc.d/rcsysinit.d/S30checkfs 128 126 ln -sf ../init.d/mountfs ${EXTDIR}/rc.d/rcsysinit.d/S40mountfs -
bootscripts/lfs/init.d/setclock
r33f0959 r63f6e21 16 16 . ${rc_functions} 17 17 . /etc/sysconfig/clock 18 19 CLOCKPARAMS=20 18 21 19 case "${UTC}" in -
chapter01/changelog.xml
r33f0959 r63f6e21 42 42 <itemizedlist> 43 43 <listitem> 44 <para>[bdubbs] - Change the bootsripts and udev configuration 45 so the rtc is set by udev upon boot. Removed aio device 46 from udev configuration. Fixes 47 <ulink url="&lfs-ticket-root;2266">#2266</ulink> and 48 <ulink url="&lfs-ticket-root;2297">#2297</ulink>.</para> 49 </listitem> 50 <listitem> 44 51 <para>[bdubbs] - Expand package management discussion and 45 52 add a section on deploying an LFS system to another host. Fixes -
chapter07/setclock.xml
r33f0959 r63f6e21 24 24 needs to be configured manually.</para> 25 25 26 <para>The <command>setclock</command> is run via 27 <application>udev</application> when the kernel detects the hardware 28 capability upon boot. It can also be run manually with the stop parameter to 29 store the system time to the CMOS clock.</para> 30 26 31 <para>If you cannot remember whether or not the hardware clock is set to UTC, 27 32 find out by running the <userinput>hwclock --localtime --show</userinput> … … 47 52 UTC=1 48 53 54 # Set this to any options you might need to give to hwclock, 55 # such as machine hardware clock type for Alphas. 56 CLOCKPARAMS= 57 49 58 # End /etc/sysconfig/clock</literal> 50 59 EOF</userinput></screen> -
packages.ent
r33f0959 r63f6e21 299 299 <!ENTITY less-ch6-sbu "0.1 SBU"> 300 300 301 <!ENTITY lfs-bootscripts-version "200905 17"> <!-- Scripts depend on this format -->301 <!ENTITY lfs-bootscripts-version "20090523"> <!-- Scripts depend on this format --> 302 302 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> 303 303 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"> … … 512 512 <!ENTITY udev-ch6-sbu "0.2 SBU"> 513 513 514 <!ENTITY udev-config "udev-config-200 81229"> <!-- Scripts depend on this format -->514 <!ENTITY udev-config "udev-config-20090523"> <!-- Scripts depend on this format --> 515 515 <!ENTITY udev-config-size "UDEV-SIZE KB"> <!-- Updated in Makefile --> 516 516 <!ENTITY udev-config-url "&downloads-root;&udev-config;.tar.bz2"> -
udev-config/55-lfs.rules
r33f0959 r63f6e21 3 3 # Core kernel devices 4 4 5 KERNEL=="aio", MODE="0444" 6 KERNEL=="rtc", MODE="0666"5 # This causes the system clock to be set as soon as /dev/rtc becomes available. 6 SUBSYSTEM=="rtc", MODE="0644", ACTION=="add", RUN+="/etc/rc.d/init.d/setclock start" 7 7 8 8 # Comms devices
Note:
See TracChangeset
for help on using the changeset viewer.