From 7ffe1b81690fd49fa88c6650b8b77818f17df50b Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 May 2021 12:55:25 +0800 Subject: add --localstatedir= for temp findutils It's to prevent the creation of an empty /usr/var. --- chapter06/findutils.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chapter06/findutils.xml') 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 @@ Prepare Findutils for compilation: -./configure --prefix=/usr \ - --host=$LFS_TGT \ +./configure --prefix=/usr \ + --localstatedir=/var/lib/locate \ + --host=$LFS_TGT \ --build=$(build-aux/config.guess) Compile the package: -- cgit v1.2.3-54-g00ecf