From a840e5905d8d2906120b5a8a9d6a06c987727d98 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Fri, 12 Aug 2016 02:02:09 +0000 Subject: Update to systemd-231 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11106 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/systemd.xml | 11 +++++++++-- chapter06/util-linux.xml | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'chapter06') diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 672c839bc..23e01d541 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -45,11 +45,13 @@ sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h") + Disable two tests that always fail: @@ -192,7 +194,7 @@ EOF make LD_LIBRARY_PATH=/tools/lib install - Move NSS libraries to /lib: + Move the NSS libraries to /lib: mv -v /usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 /lib @@ -219,6 +221,10 @@ ln -sfv ../lib/systemd/systemd /sbin/init systemd-machine-id-setup + Fix a broken symlink created by the systemd installation process: +rm -v /etc/resolv.conf +ln -s ../lib/systemd/resolv.conf /etc/resolv.conf + Since the testsuite largely depends on the host system kernel configuration, some tests may fail. It also needs a modification in order not to look for a program that will be installed by Util-Linux @@ -248,7 +254,8 @@ make LD_LIBRARY_PATH=/tools/lib -k check systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent, telinit, timedatectl, and udevadm libnss_myhostname.so.2, libnss_mymachines.so.2, - libnss_resolve.so.2, libsystemd.so, and libudev.so + libnss_resolve.so.2, libsystemd.so, libsystemd-shared-231.so, + and libudev.so /etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd, diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index f4a7c5640..b5163ce3b 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -86,7 +86,8 @@ --disable-runuser \ --disable-pylibmount \ --disable-static \ - --without-python + --without-python \ + --enable-libmount-force-mountinfo The --disable and --without options prevent warnings about building components that require packages not in LFS or are -- cgit v1.2.3-54-g00ecf