Changeset 54b143f
- Timestamp:
- Apr 14, 2014, 4:14:08 AM (10 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 79536fe
- Parents:
- f6dfda5
- Location:
- BOOK/boot/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/bootscripts.xml
rf6dfda5 r54b143f 27 27 <title>Installation of Bootscripts</title> 28 28 29 <para os="s1">Remove references to Makefile targets that do not need 30 to be used at this time:</para> 31 32 <screen os="s2"><userinput>cp Makefile{,.orig} 33 sed -e '/^install-minimal/s/ udev_device_dirs udev_device_links//' \ 34 -e '/ mknod_devices/d' \ 35 Makefile.orig > Makefile</userinput></screen> 36 37 <para os="s3">Account for udev now being in /tools:</para> 38 39 <screen os="s4"><userinput>cp clfs/init.d/udev{,.orig} 40 sed 's@/sbin/udev@/tools&@' clfs/init.d/udev.orig > clfs/init.d/udev</userinput></screen> 29 <para os="s1">Update the bootscripts so they can be used in /tools:</para> 30 31 <screen os="s2"><userinput>patch -Np1 -i ../bootscripts-cross-lfs-2.1-pre1-updates-1.patch</userinput></screen> 41 32 42 33 <para os="a">Install the package:</para> 43 34 44 <screen os="b"><userinput>make DESTDIR= ${CLFS}install-minimal</userinput></screen>35 <screen os="b"><userinput>make DESTDIR=/tools install-minimal</userinput></screen> 45 36 46 37 <para os="c">The <command>setclock</command> script reads the time from the … … 66 57 is <emphasis>not</emphasis> set to UTC time.</para> 67 58 68 <screen os="f"><userinput>cat > ${CLFS}/etc/sysconfig/clock << "EOF"69 <literal># Begin / etc/sysconfig/clock59 <screen os="f"><userinput>cat > /tools/etc/sysconfig/clock << "EOF" 60 <literal># Begin /tools/etc/sysconfig/clock 70 61 71 62 UTC=1 72 63 73 # End / etc/sysconfig/clock</literal>64 # End /tools/etc/sysconfig/clock</literal> 74 65 EOF</userinput></screen> 75 66 -
BOOK/boot/common/sysvinit.xml
rf6dfda5 r54b143f 71 71 id:3:initdefault: 72 72 73 si::sysinit:/ etc/rc.d/init.d/rc sysinit74 75 l0:0:wait:/ etc/rc.d/init.d/rc 076 l1:S1:wait:/ etc/rc.d/init.d/rc 177 l2:2:wait:/ etc/rc.d/init.d/rc 278 l3:3:wait:/ etc/rc.d/init.d/rc 379 l4:4:wait:/ etc/rc.d/init.d/rc 480 l5:5:wait:/ etc/rc.d/init.d/rc 581 l6:6:wait:/ etc/rc.d/init.d/rc 673 si::sysinit:/tools/etc/rc.d/init.d/rc sysinit 74 75 l0:0:wait:/tools/etc/rc.d/init.d/rc 0 76 l1:S1:wait:/tools/etc/rc.d/init.d/rc 1 77 l2:2:wait:/tools/etc/rc.d/init.d/rc 2 78 l3:3:wait:/tools/etc/rc.d/init.d/rc 3 79 l4:4:wait:/tools/etc/rc.d/init.d/rc 4 80 l5:5:wait:/tools/etc/rc.d/init.d/rc 5 81 l6:6:wait:/tools/etc/rc.d/init.d/rc 6 82 82 83 83 ca:12345:ctrlaltdel:/tools/sbin/shutdown -t1 -a -r now
Note:
See TracChangeset
for help on using the changeset viewer.