Changeset 54b143f


Ignore:
Timestamp:
Apr 14, 2014, 4:14:08 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
79536fe
Parents:
f6dfda5
Message:

Updated bootscripts to be used in /tools

Location:
BOOK/boot/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/bootscripts.xml

    rf6dfda5 r54b143f  
    2727    <title>Installation of Bootscripts</title>
    2828
    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&amp;@' 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>
    4132
    4233    <para os="a">Install the package:</para>
    4334
    44 <screen os="b"><userinput>make DESTDIR=${CLFS} install-minimal</userinput></screen>
     35<screen os="b"><userinput>make DESTDIR=/tools install-minimal</userinput></screen>
    4536
    4637  <para os="c">The <command>setclock</command> script reads the time from the
     
    6657  is <emphasis>not</emphasis> set to UTC time.</para>
    6758
    68 <screen os="f"><userinput>cat &gt; ${CLFS}/etc/sysconfig/clock &lt;&lt; "EOF"
    69 <literal># Begin /etc/sysconfig/clock
     59<screen os="f"><userinput>cat &gt; /tools/etc/sysconfig/clock &lt;&lt; "EOF"
     60<literal># Begin /tools/etc/sysconfig/clock
    7061
    7162UTC=1
    7263
    73 # End /etc/sysconfig/clock</literal>
     64# End /tools/etc/sysconfig/clock</literal>
    7465EOF</userinput></screen>
    7566
  • BOOK/boot/common/sysvinit.xml

    rf6dfda5 r54b143f  
    7171id:3:initdefault:
    7272
    73 si::sysinit:/etc/rc.d/init.d/rc sysinit
    74 
    75 l0:0:wait:/etc/rc.d/init.d/rc 0
    76 l1:S1:wait:/etc/rc.d/init.d/rc 1
    77 l2:2:wait:/etc/rc.d/init.d/rc 2
    78 l3:3:wait:/etc/rc.d/init.d/rc 3
    79 l4:4:wait:/etc/rc.d/init.d/rc 4
    80 l5:5:wait:/etc/rc.d/init.d/rc 5
    81 l6:6:wait:/etc/rc.d/init.d/rc 6
     73si::sysinit:/tools/etc/rc.d/init.d/rc sysinit
     74
     75l0:0:wait:/tools/etc/rc.d/init.d/rc 0
     76l1:S1:wait:/tools/etc/rc.d/init.d/rc 1
     77l2:2:wait:/tools/etc/rc.d/init.d/rc 2
     78l3:3:wait:/tools/etc/rc.d/init.d/rc 3
     79l4:4:wait:/tools/etc/rc.d/init.d/rc 4
     80l5:5:wait:/tools/etc/rc.d/init.d/rc 5
     81l6:6:wait:/tools/etc/rc.d/init.d/rc 6
    8282
    8383ca:12345:ctrlaltdel:/tools/sbin/shutdown -t1 -a -r now
Note: See TracChangeset for help on using the changeset viewer.