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