From cd2bd145defb52bc143d03794e81c04077450d89 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 11 May 2019 08:57:16 +0000 Subject: [PATCH] Fix a harcoded path in the man-db systemd unit git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11602 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter06/man-db.xml | 13 ++++++++++++- general.ent | 6 +++--- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b2d8f5d14..57ffe083d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,16 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2019-05-11 + + + [pierre] - Fix a hardcoded path to /usr/bin/find in the + systemd unit of man-db. + + + + 2019-05-03 diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index a3b866ae9..5554d45d4 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -43,7 +43,9 @@ Prepare Man-DB for compilation: -./configure --prefix=/usr \ +sed -i '/find/s@/usr@@' init/systemd/man-db.service.in + +./configure --prefix=/usr \ --docdir=/usr/share/doc/man-db-&man-db-version; \ --sysconfdir=/etc \ --disable-setuid \ @@ -66,6 +68,15 @@ The meaning of the configure options: + + sed -i '/find/s@/usr@@' init/systemd/man-db.service.in + + This changes a harcoded path to the find + utility, which we install in + /bin. + + + --disable-setuid diff --git a/general.ent b/general.ent index d1995b768..4a38b7978 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - +