Changes in chapter08/systemd.xml [35e0479:ceebda5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/systemd.xml
r35e0479 rceebda5 246 246 247 247 </sect2> 248 249 <!-- - - - - - - - - - --> 250 <!-- Multilib - 32bit --> 251 <!-- - - - - - - - - - --> 252 253 <sect2 arch="ml_32,ml_all" role="installation"> 254 <title>Installation of systemd - 32-bit</title> 255 256 <para>Clean previous build:</para> 257 258 <screen><userinput remap="pre">rm -rf *</userinput></screen> 259 260 <para>Create a symlink to work around missing xsltproc:</para> 261 262 <!-- screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen --> 263 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen> 264 265 <!-- with cross-LFS we have util-linux in place: 266 <para>Because we have not yet installed the final version of Util-Linux, 267 create links to the libraries in the approprite location:</para> 268 269 <screen><userinput remap="pre">for file in /tools/lib32/lib{blkid,mount,uuid}*; do 270 ln -sf $file /usr/lib32/ 271 done</userinput></screen> 272 --> 273 274 <para>Prepare systemd for compilation:</para> 275 276 <screen><userinput remap="configure">PKG_CONFIG_PATH="&usr-lib-m32;/pkgconfig" \ 277 CC="gcc -m32 -march=i686" \ 278 CXX="g++ -m32 -march=i686" \ 279 LANG=en_US.UTF-8 \ 280 meson --prefix=/usr \ 281 --sysconfdir=/etc \ 282 --localstatedir=/var \ 283 -Dblkid=true \ 284 -Dbuildtype=release \ 285 -Ddefault-dnssec=no \ 286 -Dfirstboot=false \ 287 -Dinstall-tests=false \ 288 -Dkill-path=/bin/kill \ 289 -Dkmod-path=/bin/kmod \ 290 -Dldconfig=false \ 291 -Dmount-path=/bin/mount \ 292 -Drootprefix= \ 293 -Drootlibdir=&usr-lib-m32; \ 294 -Dsplit-usr=true \ 295 -Dsulogin-path=/sbin/sulogin \ 296 -Dsysusers=false \ 297 -Dumount-path=/bin/umount \ 298 -Db_lto=false \ 299 ..</userinput></screen> 300 301 <para>Compile the package:</para> 302 303 <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen> 304 305 <para>Install the package:</para> 306 307 <screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install 308 cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32; 309 rm -rf DESTDIR 310 rm -f /usr/bin/xsltproc</userinput></screen> 311 312 </sect2><!-- m32 --> 313 314 <!-- - - - - - - - - - --> 315 <!-- Multilib - x32bit --> 316 <!-- - - - - - - - - - --> 317 318 <sect2 arch="ml_x32,ml_all" role="installation"> 319 <title>Installation of systemd - x32-bit</title> 320 321 <para>Clean previous build:</para> 322 323 <screen><userinput remap="pre">rm -rf *</userinput></screen> 324 325 <para>Create a symlink to work around missing xsltproc:</para> 326 327 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen> 328 329 <para>Fix an issue on x32:</para> 330 331 <screen><userinput remap="pre">sed '/log_debug/s@PRI_TIMEX@PRIi64@' -i src/timesync/timesyncd-manager.c 332 sed '/long drift_freq;/s@long @int64_t @' -i src/timesync/timesyncd-manager.h</userinput></screen> 333 334 <para>Prepare systemd for compilation:</para> 335 336 <screen><userinput remap="configure">PKG_CONFIG_PATH="&usr-lib-mx32;/pkgconfig" \ 337 CC="gcc -mx32" \ 338 CXX="g++ -mx32" \ 339 CFLAGS+="-Wno-error=shift-overflow" \ 340 CXXFLAGS+="-Wno-error=shift-overflow" \ 341 LANG=en_US.UTF-8 \ 342 meson --prefix=/usr \ 343 --sysconfdir=/etc \ 344 --localstatedir=/var \ 345 -Dblkid=true \ 346 -Dbuildtype=release \ 347 -Ddefault-dnssec=no \ 348 -Dfirstboot=false \ 349 -Dinstall-tests=false \ 350 -Dkill-path=/bin/kill \ 351 -Dkmod-path=/bin/kmod \ 352 -Dldconfig=false \ 353 -Dmount-path=/bin/mount \ 354 -Drootprefix= \ 355 -Drootlibdir=&usr-lib-mx32; \ 356 -Dsplit-usr=true \ 357 -Dsulogin-path=/sbin/sulogin \ 358 -Dsysusers=false \ 359 -Dumount-path=/bin/umount \ 360 -Db_lto=false \ 361 ..</userinput></screen> 362 363 <para>Compile the package:</para> 364 365 <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen> 366 367 <para>Install the package:</para> 368 369 <screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install 370 cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32; 371 rm -rf DESTDIR 372 rm -f /usr/bin/xsltproc</userinput></screen> 373 374 </sect2><!-- mx32 --> 248 375 249 376 <sect2 id="contents-systemd" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.