Changeset 0b3451f


Ignore:
Timestamp:
Mar 9, 2014, 3:16:59 PM (10 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.

Location:
BOOK/final-system
Files:
4 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>
  • BOOK/final-system/multilib/systemd-64bit.xml

    r8d741b2 r0b3451f  
    4747    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    4848    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"
    6549    xpointer="xpointer(//*[@os='j'])"/>
    6650
     
    7256    href="../common/systemd.xml"
    7357    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'])"/>
    7492
    7593  </sect2>
  • BOOK/final-system/multilib/systemd-n32.xml

    r8d741b2 r0b3451f  
    3030    xpointer="xpointer(//*[@os='a'])"/>
    3131
    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}" \
    3333  ./configure --prefix=/usr \
    3434    --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 \
     
    3737    --enable-split-usr --disable-gudev --with-kbd-loadkeys=/bin/loadkeys \
    3838    --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'])"/>
    4339
    4440    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5248    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5349    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>
    5561
    5662  </sect2>
  • BOOK/final-system/multilib/systemd.xml

    r8d741b2 r0b3451f  
    3535    xpointer="xpointer(//*[@os='a'])"/>
    3636
    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}" \
    3838  ./configure --prefix=/usr \
    3939    --sysconfdir=/etc --localstatedir=/var \
     
    4242    --enable-split-usr --disable-gudev --with-kbd-loadkeys=/bin/loadkeys \
    4343    --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'])"/>
    4844
    4945    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     
    5753    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    5854    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'])"/>
    6068
    6169  </sect2>
Note: See TracChangeset for help on using the changeset viewer.