Ignore:
Timestamp:
07/01/2024 06:59:19 AM (7 days ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
2b63974
Parents:
fe48a03 (diff), 201aa93 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/util-linux.xml

    rfe48a03 re4b4c5a  
    4343    <title>Installation of Util-linux</title>
    4444
     45<!--
    4546    <para>First, disable a problematic test:</para>
    4647
    4748    <screen><userinput remap="pre">sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am</userinput></screen>
    48 
     49-->
    4950    <para>Prepare Util-linux for compilation:</para>
    5051
    51 <screen revision="sysv"><userinput remap="configure">./configure --bindir=/usr/bin    \
    52             --libdir=/usr/lib    \
    53             --runstatedir=/run   \
    54             --sbindir=/usr/sbin  \
    55             --disable-chfn-chsh  \
    56             --disable-login      \
    57             --disable-nologin    \
    58             --disable-su         \
    59             --disable-setpriv    \
    60             --disable-runuser    \
    61             --disable-pylibmount \
    62             --disable-static     \
    63             --without-python     \
    64             --without-systemd    \
     52    <screen revision="sysv"><userinput remap="configure">./configure --bindir=/usr/bin     \
     53            --libdir=/usr/lib     \
     54            --runstatedir=/run    \
     55            --sbindir=/usr/sbin   \
     56            --disable-chfn-chsh   \
     57            --disable-login       \
     58            --disable-nologin     \
     59            --disable-su          \
     60            --disable-setpriv     \
     61            --disable-runuser     \
     62            --disable-pylibmount  \
     63            --disable-liblastlog2 \
     64            --disable-static      \
     65            --without-python      \
     66            --without-systemd     \
    6567            --without-systemdsystemunitdir        \
    6668            ADJTIME_PATH=/var/lib/hwclock/adjtime \
    6769            --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    6870
    69 <screen revision="systemd"><userinput remap="configure">./configure --bindir=/usr/bin    \
    70             --libdir=/usr/lib    \
    71             --runstatedir=/run   \
    72             --sbindir=/usr/sbin  \
    73             --disable-chfn-chsh  \
    74             --disable-login      \
    75             --disable-nologin    \
    76             --disable-su         \
    77             --disable-setpriv    \
    78             --disable-runuser    \
    79             --disable-pylibmount \
    80             --disable-static     \
    81             --without-python     \
     71      <screen revision="systemd"><userinput remap="configure">./configure --bindir=/usr/bin     \
     72            --libdir=/usr/lib     \
     73            --runstatedir=/run    \
     74            --sbindir=/usr/sbin   \
     75            --disable-chfn-chsh   \
     76            --disable-login       \
     77            --disable-nologin     \
     78            --disable-su          \
     79            --disable-setpriv     \
     80            --disable-runuser     \
     81            --disable-pylibmount  \
     82            --disable-liblastlog2 \
     83            --disable-static      \
     84            --without-python      \
    8285            ADJTIME_PATH=/var/lib/hwclock/adjtime \
    8386            --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
     
    9194<screen><userinput remap="make">make</userinput></screen>
    9295
    93     <para>If desired, run the test suite as a non-&root; user:</para>
     96    <!-- To editors:
     97         Two tests need a /etc/fstab file.  They are skipped if the host
     98         distro isn't using systemd as the init system, so don't remove
     99         the creation of /etc/fstab unless you've tested it with such a
     100         host distro (for example LFS systemd or Debian).  -->
     101    <para>If desired, create a dummy <filename>/etc/fstab</filename> file
     102    to satisfy two tests and run the test suite as a non-&root;
     103    user:</para>
    94104
    95105    <warning><para>Running the test suite as the
     
    104114    </warning>
    105115
    106 <screen><userinput remap="test">chown -R tester .
     116<screen><userinput remap="test">touch /etc/fstab
     117chown -R tester .
    107118su tester -c "make -k check"</userinput></screen>
    108119
    109     <para>The <emphasis>hardlink</emphasis> tests will fail if the host's kernel
    110     does not have the option <option>CONFIG_CRYPTO_USER_API_HASH</option>
    111     enabled or does not have any options providing a SHA256 implementation
    112     (for example, <option>CONFIG_CRYPTO_SHA256</option>, or
    113     <option>CONFIG_CRYPTO_SHA256_SSSE3</option> if the CPU supports
    114     Supplemental SSE3) enabled. In addition,
    115     two sub-tests from misc: mbsencode and one sub-test from script: replay are
    116     known to fail.</para>
     120    <para>
     121       The <emphasis>hardlink</emphasis> tests will fail if the host's kernel
     122       does not have the option <option>CONFIG_CRYPTO_USER_API_HASH</option>
     123       enabled or does not have any options providing a SHA256 implementation
     124       (for example, <option>CONFIG_CRYPTO_SHA256</option>, or
     125       <option>CONFIG_CRYPTO_SHA256_SSSE3</option> if the CPU supports
     126       Supplemental SSE3) enabled. In addition, the lsfd: inotify test will
     127       fail if the kernel option <option>CONFIG_NETLINK_DIAG</option> is not
     128       enabled.
     129    </para>
    117130
    118131    <para>Install the package:</para>
Note: See TracChangeset for help on using the changeset viewer.