- Timestamp:
- Apr 14, 2014, 2:18:31 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 0d68a5c
- Parents:
- 4b9dcd7
- Location:
- BOOK/boot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/sysvinit.xml
r4b9dcd7 r3f2219e 27 27 <title>Installation of Sysvinit</title> 28 28 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 > 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&@' src/paths.h.orig > 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> 47 34 48 35 <para os ="c">Compile the package:</para> -
BOOK/boot/multilib/sysvinit.xml
r4b9dcd7 r3f2219e 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/sysvinit.xml" 27 xpointer="xpointer(//*[@os=' s1'])"/>27 xpointer="xpointer(//*[@os='p1'])"/> 28 28 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 30 30 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'])"/> 48 32 49 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.