Changeset 3f2219e


Ignore:
Timestamp:
Apr 14, 2014, 2:18:31 PM (6 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

Location:
BOOK/boot
Files:
2 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>
  • BOOK/boot/multilib/sysvinit.xml

    r4b9dcd7 r3f2219e  
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../common/sysvinit.xml"
    27     xpointer="xpointer(//*[@os='s1'])"/>
     27    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    2929    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3030    href="../common/sysvinit.xml"
    31     xpointer="xpointer(//*[@os='s2'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/sysvinit.xml"
    35     xpointer="xpointer(//*[@os='aa'])"/>
    36 
    37     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    38     href="../common/sysvinit.xml"
    39     xpointer="xpointer(//*[@os='ab'])"/>
    40 
    41     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    42     href="../common/sysvinit.xml"
    43     xpointer="xpointer(//*[@os='bc'])"/>
    44 
    45     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    46     href="../common/sysvinit.xml"
    47     xpointer="xpointer(//*[@os='bd'])"/>
     31    xpointer="xpointer(//*[@os='p2'])"/>
    4832
    4933    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.