diff --git a/chapter08/udev.xml b/chapter08/udev.xml index 2d3792511..d29d3fd0d 100644 --- a/chapter08/udev.xml +++ b/chapter08/udev.xml @@ -159,6 +159,79 @@ rm /usr/share/man/man8/systemd-*.8 + + + + + Installation of Udev - 32bit + + Clean previous build (while still in the build directory): + +rm -rf * + + Prepare File for compilation: + +PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \ +CC="gcc -m32 -march=i686" \ +CXX="g++ -m32 -march=i686" \ +LANG=en_US.UTF-8 \ +meson setup \ + --prefix=/usr \ + --buildtype=release \ + -Dmode=release \ + -Ddev-kvm-mode=0660 \ + -Dlink-udev-shared=false \ + .. + + Compile the package: + +make + + Install the package: + +make DESTDIR=$PWD/DESTDIR install +cp -Rv DESTDIR/usr/lib32/* /usr/lib32 +rm -rf DESTDIR + + + + + + + + Installation of Udev - x32bit + Clean previous build (while still in the build directory): + +rm -rf * + + Prepare File for compilation: + +PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \ +CC="gcc -mx32" \ +CXX="g++ -mx32" \ +CFLAGS+="-Wno-error=shift-overflow" \ +CXXFLAGS+="-Wno-error=shift-overflow" \ +LANG=en_US.UTF-8 \ +meson setup \ + --prefix=/usr \ + --buildtype=release \ + -Dmode=release \ + -Ddev-kvm-mode=0660 \ + -Dlink-udev-shared=false \ + .. + + Compile the package: + +make + + Install the package: + +make DESTDIR=$PWD/DESTDIR install +cp -Rv DESTDIR/usr/libx32/* /usr/libx32 +rm -rf DESTDIR + + + Configuring Udev