Changeset 0b3451f for BOOK/final-system/common
- Timestamp:
- Mar 9, 2014, 3:16:59 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 10d030c
- Parents:
- 8d741b2
- File:
-
- 1 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>
Note:
See TracChangeset
for help on using the changeset viewer.