Changes in chapter08/systemd.xml [0f46bd2:e193e357]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/systemd.xml
r0f46bd2 re193e357 215 215 216 216 </sect2> 217 218 <!-- - - - - - - - - - -->219 <!-- Multilib - 32bit -->220 <!-- - - - - - - - - - -->221 222 <sect2 arch="ml_32,ml_all" role="installation">223 <title>Installation of systemd - 32-bit</title>224 225 <para>Clean previous build:</para>226 227 <screen><userinput remap="pre">rm -rf *</userinput></screen>228 229 <para>Create a symlink to work around missing xsltproc:</para>230 231 <!-- screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen -->232 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>233 234 <!-- with cross-LFS we have util-linux in place:235 <para>Because we have not yet installed the final version of Util-Linux,236 create links to the libraries in the approprite location:</para>237 238 <screen><userinput remap="pre">for file in /tools/lib32/lib{blkid,mount,uuid}*; do239 ln -sf $file /usr/lib32/240 done</userinput></screen>241 -->242 243 <para>Prepare systemd for compilation:</para>244 245 <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \246 CC="gcc -m32 -march=i686" \247 CXX="g++ -m32 -march=i686" \248 LANG=en_US.UTF-8 \249 meson --prefix=/usr \250 --sysconfdir=/etc \251 --localstatedir=/var \252 --libdir=/usr/lib32 \253 -Drootlibdir=/usr/lib32 \254 -Dblkid=true \255 -Ddefault-dnssec=no \256 -Dfirstboot=false \257 -Dinstall-tests=false \258 -Dldconfig=false \259 -Dsysusers=false \260 -Db_lto=false \261 -Drpmmacrosdir=no \262 -Dhomed=false \263 -Duserdb=false \264 -Dman=false \265 -Dmode=release \266 ..</userinput></screen>267 268 <para>Compile the package:</para>269 270 <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>271 272 <para>Install the package:</para>273 274 <screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install275 cp -Rv DESTDIR/usr/lib32/* /usr/lib32276 rm -rf DESTDIR277 rm -f /usr/bin/xsltproc</userinput></screen>278 279 </sect2><!-- m32 -->280 281 <!-- - - - - - - - - - -->282 <!-- Multilib - x32bit -->283 <!-- - - - - - - - - - -->284 285 <sect2 arch="ml_x32,ml_all" role="installation">286 <title>Installation of systemd - x32-bit</title>287 288 <para>Clean previous build:</para>289 290 <screen><userinput remap="pre">rm -rf *</userinput></screen>291 292 <para>Create a symlink to work around missing xsltproc:</para>293 294 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>295 <!--296 <para>Fix an issue on x32:</para>297 298 <screen><userinput remap="pre">sed '/log_debug/s@PRI_TIMEX@PRIi64@' -i src/timesync/timesyncd-manager.c299 sed '/long drift_freq;/s@long @int64_t @' -i src/timesync/timesyncd-manager.h</userinput></screen>300 -->301 <para>Prepare systemd for compilation:</para>302 303 <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \304 CC="gcc -mx32" \305 CXX="g++ -mx32" \306 CFLAGS+="-Wno-error=shift-overflow" \307 CXXFLAGS+="-Wno-error=shift-overflow" \308 LANG=en_US.UTF-8 \309 meson --prefix=/usr \310 --sysconfdir=/etc \311 --localstatedir=/var \312 --libdir=/usr/libx32 \313 -Drootlibdir=/usr/libx32 \314 -Dblkid=true \315 -Ddefault-dnssec=no \316 -Dfirstboot=false \317 -Dinstall-tests=false \318 -Dldconfig=false \319 -Dsysusers=false \320 -Db_lto=false \321 -Drpmmacrosdir=no \322 -Dhomed=false \323 -Duserdb=false \324 -Dman=false \325 -Dmode=release \326 ..</userinput></screen>327 328 <para>Compile the package:</para>329 330 <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>331 332 <para>Install the package:</para>333 334 <screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install335 cp -Rv DESTDIR/usr/libx32/* /usr/libx32336 rm -rf DESTDIR337 rm -f /usr/bin/xsltproc</userinput></screen>338 339 </sect2><!-- mx32 -->340 217 341 218 <sect2 id="contents-systemd" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.