aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-02-05 17:43:07 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-02-05 20:37:44 +0800
commite954006b160330eba233e34a8ae7629853aa0f3d (patch)
tree02941446b45f9c0944df33dfe3fae9648a01f7c4
parent50c357d36393e8250871e98af196ba3232320264 (diff)
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.
-rw-r--r--chapter08/util-linux.xml4
1 files changed, 4 insertions, 0 deletions
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 @@
<para>Prepare Util-linux for compilation:</para>
<screen revision="sysv"><userinput remap="configure">./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</userinput></screen>
<screen revision="systemd"><userinput remap="configure">./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 \