Changes in chapter08/util-linux.xml [9bfd203f:9c73d911]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/util-linux.xml
r9bfd203f r9c73d911 43 43 <title>Installation of Util-linux</title> 44 44 45 <!--46 45 <para>First, disable a problematic test:</para> 47 46 48 47 <screen><userinput remap="pre">sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am</userinput></screen> 49 --> 48 50 49 <para>Prepare Util-linux for compilation:</para> 51 50 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 \ 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 \ 67 65 --without-systemdsystemunitdir \ 68 66 ADJTIME_PATH=/var/lib/hwclock/adjtime \ 69 67 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> 70 68 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 \ 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 \ 85 82 ADJTIME_PATH=/var/lib/hwclock/adjtime \ 86 83 --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen> … … 94 91 <screen><userinput remap="make">make</userinput></screen> 95 92 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> 93 <para>If desired, run the test suite as a non-&root; user:</para> 104 94 105 95 <warning><para>Running the test suite as the … … 114 104 </warning> 115 105 116 <screen><userinput remap="test">touch /etc/fstab 117 chown -R tester . 106 <screen><userinput remap="test">chown -R tester . 118 107 su tester -c "make -k check"</userinput></screen> 119 108 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> 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> 130 117 131 118 <para>Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.