Changes in chapter08/util-linux.xml [ce45f8d:9bfd203f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/util-linux.xml
rce45f8d r9bfd203f 94 94 <screen><userinput remap="make">make</userinput></screen> 95 95 96 <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> 97 104 98 105 <warning><para>Running the test suite as the … … 107 114 </warning> 108 115 109 <screen><userinput remap="test">chown -R tester . 116 <screen><userinput remap="test">touch /etc/fstab 117 chown -R tester . 110 118 su tester -c "make -k check"</userinput></screen> 111 119 … … 130 138 --> 131 139 </sect2> 132 133 <!-- - - - - - - - - - -->134 <!-- Multilib - 32bit -->135 <!-- - - - - - - - - - -->136 137 <sect2 arch="ml_32,ml_all" role="installation">138 <title>Installation of Util-linux - 32-bit</title>139 140 <para>Clean previous build:</para>141 142 <screen><userinput remap="pre">make distclean</userinput></screen>143 144 <para>Move a tool out of the way which is optionally used by145 configure but will report invalid pathes for multilib builds.</para>146 147 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{,.tmp}</userinput></screen>148 149 <para>Prepare Util-linux for compilation:</para>150 151 <screen revision="sysv"><userinput remap="configure">CC="gcc -m32" \152 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \153 --host=i686-pc-linux-gnu \154 --libdir=/usr/lib32 \155 --runstatedir=/run \156 --sbindir=/usr/sbin \157 --docdir=/usr/share/doc/util-linux-&util-linux-version; \158 --disable-chfn-chsh \159 --disable-login \160 --disable-nologin \161 --disable-su \162 --disable-setpriv \163 --disable-runuser \164 --disable-pylibmount \165 --disable-liblastlog2 \166 --disable-static \167 --without-python \168 --without-systemd \169 --without-systemdsystemunitdir</userinput></screen>170 171 <screen revision="systemd"><userinput remap="configure">CC="gcc -m32" \172 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \173 --host=i686-pc-linux-gnu \174 --libdir=/usr/lib32 \175 --runstatedir=/run \176 --sbindir=/usr/sbin \177 --docdir=/usr/share/doc/util-linux-&util-linux-version; \178 --disable-chfn-chsh \179 --disable-login \180 --disable-nologin \181 --disable-su \182 --disable-setpriv \183 --disable-runuser \184 --disable-pylibmount \185 --disable-liblastlog2 \186 --disable-static \187 --without-python</userinput></screen>188 189 <para>Restore the tool previously moved away:</para>190 191 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{.tmp,}</userinput></screen>192 193 <para>Compile the package:</para>194 195 <screen><userinput remap="make">make</userinput></screen>196 197 <para>Install the package:</para>198 199 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install200 cp -Rv DESTDIR/usr/lib32/* /usr/lib32201 rm -rf DESTDIR</userinput></screen>202 203 </sect2><!-- m32 -->204 205 <!-- - - - - - - - - - -->206 <!-- Multilib - x32bit -->207 <!-- - - - - - - - - - -->208 209 <sect2 arch="ml_x32,ml_all" role="installation">210 <title>Installation of Util-linux - x32-bit</title>211 212 <para>Clean previous build:</para>213 214 <screen><userinput remap="pre">make distclean</userinput></screen>215 216 <para>Move a tool out of the way which is optionally used by217 configure but will report invalid pathes for multilib builds.</para>218 219 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{,.tmp}</userinput></screen>220 221 <para>Prepare Util-linux for compilation:</para>222 223 <screen revision="sysv"><userinput remap="configure">CC="gcc -mx32" \224 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \225 --host=x86_64-pc-linux-gnux32 \226 --libdir=/usr/libx32 \227 --runstatedir=/run \228 --sbindir=/usr/sbin \229 --docdir=/usr/share/doc/util-linux-&util-linux-version; \230 --disable-chfn-chsh \231 --disable-login \232 --disable-nologin \233 --disable-su \234 --disable-setpriv \235 --disable-runuser \236 --disable-pylibmount \237 --disable-liblastlog2 \238 --disable-static \239 --without-python \240 --without-systemd \241 --without-systemdsystemunitdir</userinput></screen>242 243 <screen revision="systemd"><userinput remap="configure">CC="gcc -mx32" \244 ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \245 --host=x86_64-pc-linux-gnux32 \246 --libdir=/usr/libx32 \247 --runstatedir=/run \248 --sbindir=/usr/sbin \249 --docdir=/usr/share/doc/util-linux-&util-linux-version; \250 --disable-chfn-chsh \251 --disable-login \252 --disable-nologin \253 --disable-su \254 --disable-setpriv \255 --disable-runuser \256 --disable-pylibmount \257 --disable-liblastlog2 \258 --disable-static \259 --without-python</userinput></screen>260 261 <para>Restore the tool previously moved away:</para>262 263 <screen><userinput remap="configure">mv /usr/bin/ncursesw6-config{.tmp,}</userinput></screen>264 265 <para>Compile the package:</para>266 267 <screen><userinput remap="make">make</userinput></screen>268 269 <para>Install the package:</para>270 271 <screen><userinput remap="install">make DESTDIR=$PWD/DESTDIR install272 cp -Rv DESTDIR/usr/libx32/* /usr/libx32273 rm -rf DESTDIR</userinput></screen>274 275 </sect2><!-- mx32 -->276 140 277 141 <sect2 id="contents-utillinux" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.