Ignore:
Timestamp:
03/09/14 15:16:59 (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
10d030c
Parents:
8d741b2
Message:

Add commands for moving libnss library to /lib, /lib32, /lib64 and add configure command option descriptions, and add testsuite commands.

File:
1 edited

Legend:

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

    r8d741b2 r0b3451f  
    3434    --with-kbd-setfont=/bin/setfont</userinput></screen>
    3535
    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
    4584    installed by default:</para>
    4685
    47 <screen os="h"><userinput>for section in 1 3 5 7 8
     86<screen os="m"><userinput>for section in 1 3 5 7 8
    4887do
    4988  install -v -m644 man/*.${section} /usr/share/man/man${section}
     
    5190install -v -m644 man/*.html /usr/share/doc/systemd-&systemd-version;</userinput></screen>
    5291
    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
    56104  ln -sfv ../bin/systemctl /sbin/$tool
    57105done
    58106ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
    59107
    60     <para os="k">Modify a configuration file which references a group that
     108    <para os="t">Modify a configuration file which references a group that
    61109    doesn't exist:</para>
    62110
    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>
    64112
    65113  </sect2>
Note: See TracChangeset for help on using the changeset viewer.