diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-05-18 12:55:25 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-05-18 12:55:25 +0800 |
commit | 7ffe1b81690fd49fa88c6650b8b77818f17df50b (patch) | |
tree | 304b4696f0b096c3a05a04805039fbf7e12b41e9 /chapter06/findutils.xml | |
parent | 9901d50d9a75e5477fc0bd042a03e3bdf5f7db01 (diff) |
add --localstatedir= for temp findutils
It's to prevent the creation of an empty /usr/var.
Diffstat (limited to 'chapter06/findutils.xml')
-rw-r--r-- | chapter06/findutils.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index ff08a51cd..7bb0c7219 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -45,8 +45,9 @@ <para>Prepare Findutils for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ - --host=$LFS_TGT \ +<screen><userinput remap="configure">./configure --prefix=/usr \ + --localstatedir=/var/lib/locate \ + --host=$LFS_TGT \ --build=$(build-aux/config.guess)</userinput></screen> <para>Compile the package:</para> |