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