From e954006b160330eba233e34a8ae7629853aa0f3d Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 5 Feb 2022 17:43:07 +0800 Subject: util-linux: add --bindir and --sbindir The defaults are /bin and /sbin. We don't like them because of "DESTDIR on merged-usr system" issue. --- chapter08/util-linux.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chapter08') diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml index e25601e97..18ab04199 100644 --- a/chapter08/util-linux.xml +++ b/chapter08/util-linux.xml @@ -45,7 +45,9 @@ Prepare Util-linux for compilation: ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --bindir=/usr/bin \ --libdir=/usr/lib \ + --sbindir=/usr/sbin \ --docdir=/usr/share/doc/util-linux-&util-linux-version; \ --disable-chfn-chsh \ --disable-login \ @@ -61,7 +63,9 @@ runstatedir=/run ./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \ + --bindir=/usr/bin \ --libdir=/usr/lib \ + --sbindir=/usr/sbin \ --docdir=/usr/share/doc/util-linux-&util-linux-version; \ --disable-chfn-chsh \ --disable-login \ -- cgit v1.2.3-54-g00ecf