From 5ca1b36bcbb8da4d203824e992f8fc4a7c4daf9a Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sun, 10 Feb 2002 15:56:45 +0000 Subject: [PATCH] Added a sed command to chapter 6-gzip to change the hard-coded /usr/bin/gzip path to /bin/gzip git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1554 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 4 ++++ chapter06/gzip-inst.xml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index d22180a65..272dcafd3 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -24,6 +24,10 @@ +February 10th, 2002 [gerard]: Chapter 6: Added a sed +command to change gzexe's hardcoded /usr/bin/gzip path and change it to +/bin/gzip. + February 10th, 2002 [gerard]: Chapter 5 + 6: Moved additional programs to the ($LFS)/bin directory that are used by the bootscripts. No programs used by bootscripts (except daemons themselves) diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml index 95440fa7b..57fd9a457 100644 --- a/chapter06/gzip-inst.xml +++ b/chapter06/gzip-inst.xml @@ -4,6 +4,8 @@ Install Gzip by running the following commands: ./configure --prefix=/usr && +cp gzexe.in gzexe.in.backup && +sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in && make && make install && cd /usr/bin &&