Changeset 0b3451f
- Timestamp:
- Mar 9, 2014, 10:16:59 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 10d030c
- Parents:
- 8d741b2
- Location:
- BOOK/final-system
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/systemd.xml
r8d741b2 r0b3451f 34 34 --with-kbd-setfont=/bin/setfont</userinput></screen> 35 35 36 <para os="c">Compile the package:</para> 37 38 <screen os="d"><userinput>make</userinput></screen> 39 40 <para os="e">Install the package:</para> 41 42 <screen os="f"><userinput>make install</userinput></screen> 43 44 <para os="g">Install man pages and documentation files that are not 36 <variablelist os="c"> 37 <title>The meaning of the configure options:</title> 38 39 <varlistentry> 40 <term><parameter>--with-root*</parameter></term> 41 <listitem> 42 <para>These switches ensure that core programs and 43 shared libraries are installed in the subdirectories 44 of the root partition.</para> 45 </listitem> 46 </varlistentry> 47 48 <varlistentry> 49 <term><parameter>--enable-split-usr</parameter></term> 50 <listitem> 51 <para>This switch ensures that Systemd will work on 52 systems where /bin, /lib and /sbin directories are not 53 symlinks to their /usr counterparts.</para> 54 </listitem> 55 </varlistentry> 56 57 <varlistentry> 58 <term><parameter>--disable-gudev --without-python</parameter></term> 59 <listitem> 60 <para>These switches disable optional features because 61 LFS does not provide their dependencies.</para> 62 </listitem> 63 </varlistentry> 64 65 </variablelist> 66 67 <para os="d">Compile the package:</para> 68 69 <screen os="e"><userinput>make</userinput></screen> 70 71 <para os="f">Prevent a broken test case from running:</para> 72 73 <screen os="g"><userinput remap="test">sed -i s:test/udev-test.pl::g Makefile</userinput></screen> 74 75 <para os="h">Test test the results, issue:</para> 76 77 <screen os="i"><userinput remap="test">make check</userinput></screen> 78 79 <para os="j">Install the package:</para> 80 81 <screen os="k"><userinput>make install</userinput></screen> 82 83 <para os="l">Install man pages and documentation files that are not 45 84 installed by default:</para> 46 85 47 <screen os=" h"><userinput>for section in 1 3 5 7 886 <screen os="m"><userinput>for section in 1 3 5 7 8 48 87 do 49 88 install -v -m644 man/*.${section} /usr/share/man/man${section} … … 51 90 install -v -m644 man/*.html /usr/share/doc/systemd-&systemd-version;</userinput></screen> 52 91 53 <para os="i">Create symlinks for backwards-compatibility with Sysvinit:</para> 54 55 <screen os="j"><userinput>for tool in runlevel reboot shutdown poweroff halt telinit; do 92 <para os="n">Move NSS myhostname library to <filename class="directory">/lib 93 </filename>:</para> 94 95 <screen os="o"><userinput>mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen> 96 97 <para os="p">Remove an unnecessary directory:</para> 98 99 <screen os="q"><userinput>rm -rfv /usr/lib/rpm</userinput></screen> 100 101 <para os="r">Create symlinks for backwards-compatibility with Sysvinit:</para> 102 103 <screen os="s"><userinput>for tool in runlevel reboot shutdown poweroff halt telinit; do 56 104 ln -sfv ../bin/systemctl /sbin/$tool 57 105 done 58 106 ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen> 59 107 60 <para os=" k">Modify a configuration file which references a group that108 <para os="t">Modify a configuration file which references a group that 61 109 doesn't exist:</para> 62 110 63 <screen os=" l"><userinput>sed -i "s@root lock@root root@g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>111 <screen os="u"><userinput>sed -i "s@root lock@root root@g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen> 64 112 65 113 </sect2> -
BOOK/final-system/multilib/systemd-64bit.xml
r8d741b2 r0b3451f 47 47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 48 48 href="../common/systemd.xml" 49 xpointer="xpointer(//*[@os='f'])"/>50 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"52 href="../common/systemd.xml"53 xpointer="xpointer(//*[@os='g'])"/>54 55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"56 href="../common/systemd.xml"57 xpointer="xpointer(//*[@os='h'])"/>58 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"60 href="../common/systemd.xml"61 xpointer="xpointer(//*[@os='i'])"/>62 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"64 href="../common/systemd.xml"65 49 xpointer="xpointer(//*[@os='j'])"/> 66 50 … … 72 56 href="../common/systemd.xml" 73 57 xpointer="xpointer(//*[@os='l'])"/> 58 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 60 href="../common/systemd.xml" 61 xpointer="xpointer(//*[@os='m'])"/> 62 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 64 href="../common/systemd.xml" 65 xpointer="xpointer(//*[@os='n'])"/> 66 67 <screen><userinput>mv -v /usr/lib64/libnss_myhostname.so.2 /lib64</userinput></screen> 68 69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 70 href="../common/systemd.xml" 71 xpointer="xpointer(//*[@os='p'])"/> 72 73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 74 href="../common/systemd.xml" 75 xpointer="xpointer(//*[@os='q'])"/> 76 77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 78 href="../common/systemd.xml" 79 xpointer="xpointer(//*[@os='r'])"/> 80 81 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 82 href="../common/systemd.xml" 83 xpointer="xpointer(//*[@os='s'])"/> 84 85 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 86 href="../common/systemd.xml" 87 xpointer="xpointer(//*[@os='t'])"/> 88 89 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 90 href="../common/systemd.xml" 91 xpointer="xpointer(//*[@os='u'])"/> 74 92 75 93 </sect2> -
BOOK/final-system/multilib/systemd-n32.xml
r8d741b2 r0b3451f 30 30 xpointer="xpointer(//*[@os='a'])"/> 31 31 32 <screen os="b"><userinput>CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \32 <screen><userinput>CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ 33 33 ./configure --prefix=/usr \ 34 34 --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 \ … … 37 37 --enable-split-usr --disable-gudev --with-kbd-loadkeys=/bin/loadkeys \ 38 38 --with-kbd-setfont=/bin/setfont</userinput></screen> 39 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"41 href="../common/systemd.xml"42 xpointer="xpointer(//*[@os='c'])"/>43 39 44 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 52 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 53 49 href="../common/systemd.xml" 54 xpointer="xpointer(//*[@os='f'])"/> 50 xpointer="xpointer(//*[@os='j'])"/> 51 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 53 href="../common/systemd.xml" 54 xpointer="xpointer(//*[@os='k'])"/> 55 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 57 href="../common/systemd.xml" 58 xpointer="xpointer(//*[@os='n'])"/> 59 60 <screen><userinput>mv -v /usr/lib32/libnss_myhostname.so.2 /lib32</userinput></screen> 55 61 56 62 </sect2> -
BOOK/final-system/multilib/systemd.xml
r8d741b2 r0b3451f 35 35 xpointer="xpointer(//*[@os='a'])"/> 36 36 37 <screen os="b"><userinput>CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \37 <screen><userinput>CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ 38 38 ./configure --prefix=/usr \ 39 39 --sysconfdir=/etc --localstatedir=/var \ … … 42 42 --enable-split-usr --disable-gudev --with-kbd-loadkeys=/bin/loadkeys \ 43 43 --with-kbd-setfont=/bin/setfont</userinput></screen> 44 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"46 href="../common/systemd.xml"47 xpointer="xpointer(//*[@os='c'])"/>48 44 49 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" … … 57 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 58 54 href="../common/systemd.xml" 59 xpointer="xpointer(//*[@os='f'])"/> 55 xpointer="xpointer(//*[@os='j'])"/> 56 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 58 href="../common/systemd.xml" 59 xpointer="xpointer(//*[@os='k'])"/> 60 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 62 href="../common/systemd.xml" 63 xpointer="xpointer(//*[@os='n'])"/> 64 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 66 href="../common/systemd.xml" 67 xpointer="xpointer(//*[@os='o'])"/> 60 68 61 69 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.