Ignore:
Timestamp:
Nov 24, 2012, 4:08:59 AM (12 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
31aa6cb
Parents:
6243b1f
Message:

Streamlined sed command for sysvinit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/sysvinit.xml

    r6243b1f rdfa8f775  
    2525    <title>Installation of Sysvinit</title>
    2626
    27 <para os ="a">Apply a sed which removes sulogin, mountpoint, and wall from being built and installed as they are provided by util-linux:</para>
    28 
    29 <screen os="b"><userinput>cp -v src/Makefile{,.orig}
    30 sed -e 's/\ sulogin//;s/\ sulogin.8//' \
    31     -e '/sulogin.*:/d' '/utmpdump/d' \
    32     -e '/mountpoint/d' src/Makefile.orig > src/Makefile</userinput></screen>
     27<para os ="a">Apply a sed which disables sulogin, mountpoint, wall, and
     28utmpdump from being built and installed as they are provided by Util-linux:</para>
     29
     30<screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \
     31    -e '/utmpdump/d' -e '/mountpoint/d' src/Makefile</userinput></screen>
    3332
    3433<para os ="c">Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.