Changeset 3f2219e for BOOK/boot/common


Ignore:
Timestamp:
Apr 14, 2014, 2:18:31 PM (11 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
0d68a5c
Parents:
4b9dcd7
Message:

Consolidated sysvinit source code changes into a patch

File:
1 edited

Legend:

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

    r4b9dcd7 r3f2219e  
    2727    <title>Installation of Sysvinit</title>
    2828
    29     <para os="s1">Prevent several programs from being built, as better versions
    30     were already installed by Util-linux:</para>
    31 
    32 <screen os="s2"><userinput>cp -v src/Makefile{,.orig}
    33 sed -e 's/\ sulogin[^ ]*//' -e '/utmpdump/d' -e '/mountpoint/d' \
    34     -e '/mesg/d' src/Makefile.orig &gt; src/Makefile</userinput></screen>
    35 
    36     <para os="aa">The following modifications help locate files specific to this
    37     particular build:</para>
    38 
    39 <screen os="ab"><userinput>cp -v src/Makefile{,.orig}
    40 sed -e 's,/usr/lib,/tools/lib,g' \
    41     src/Makefile.orig > src/Makefile</userinput></screen>
    42 
    43     <para os="bc">Change the location of inittab:</para>
    44 
    45 <screen os="bd"><userinput>cp -v src/paths.h{,.orig}
    46 sed 's@/etc/inittab@/tools&amp;@' src/paths.h.orig &gt; src/paths.h</userinput></screen>
     29    <para os="p1">Apply a patch to prevent installation of unneeded programs,
     30    and allow Sysvinit to be installed in
     31    <filename class="directory">/tools</filename>:</para>
     32
     33<screen os="p2"><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-tools_updates-1.patch</userinput></screen>
    4734
    4835    <para os ="c">Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.