From 1987d724ce4059e12b51962be50c59d30a4a148d Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 25 May 2002 00:21:12 +0000 Subject: second set of commits for keep-chap5-chap6-seperate git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/creatingstaticdir.xml | 20 ++++++++++++++++++++ chapter05/findutils-exp.xml | 9 +++++++++ chapter05/findutils-inst.xml | 15 +++++++++++++++ chapter05/findutils.xml | 14 ++++++++++++++ chapter05/utillinux-inst.xml | 15 +++++++++++++++ chapter05/utillinux.xml | 11 +++++++++++ 6 files changed, 84 insertions(+) create mode 100644 chapter05/creatingstaticdir.xml create mode 100644 chapter05/findutils-exp.xml create mode 100644 chapter05/findutils-inst.xml create mode 100644 chapter05/findutils.xml create mode 100644 chapter05/utillinux-inst.xml create mode 100644 chapter05/utillinux.xml (limited to 'chapter05') diff --git a/chapter05/creatingstaticdir.xml b/chapter05/creatingstaticdir.xml new file mode 100644 index 000000000..480b0d86e --- /dev/null +++ b/chapter05/creatingstaticdir.xml @@ -0,0 +1,20 @@ + +Creating the $LFS/static directory + + +As explained in this chapter's introduction, everything we install +from this chapter will be installed under the $LFS/static directory. This way it won't +pollute the LFS partition with a bunch of temporary files. All we need to +do is create this directory so we can start installing. Simply run this +command to create the directory: + +mkdir $LFS/static + +You may want to move the packages you downloaded in chapter 3 to this +$LFS/static directory, perhaps +create a subdirectory $LFS/static/src to keep them in. + + + diff --git a/chapter05/findutils-exp.xml b/chapter05/findutils-exp.xml new file mode 100644 index 000000000..d7eba25bb --- /dev/null +++ b/chapter05/findutils-exp.xml @@ -0,0 +1,9 @@ + +Command explanations + +patch -Np1 -i ../findutils-4.1.patch: This +patch is to fix some compilation errors by +avoiding a variable conflict and changing some bad syntax. + + + diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml new file mode 100644 index 000000000..51c7c5197 --- /dev/null +++ b/chapter05/findutils-inst.xml @@ -0,0 +1,15 @@ + +Installing Findutils + +This package requires its patch to be applied before you can +install it. Make sure it's unpacked before running the installation +commands. + +Install Findutils by running the following commands: + +patch -Np1 -i ../findutils-4.1.patch && +./configure --prefix=$LFS/static && +make libexecdir=/static/bin LDFLAGS=-static && +make libexecdir=/static/bin install + + diff --git a/chapter05/findutils.xml b/chapter05/findutils.xml new file mode 100644 index 000000000..9f25462a0 --- /dev/null +++ b/chapter05/findutils.xml @@ -0,0 +1,14 @@ + +Installing Findutils-&findutils-version; + + +Estimated build time: &findutils-time; +Estimated required disk space: &findutils-compsize; + +&c5-findutils-inst; +&c5-findutils-exp; +&aa-findutils-desc; +&aa-findutils-dep; + + + diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml new file mode 100644 index 000000000..781ee2c84 --- /dev/null +++ b/chapter05/utillinux-inst.xml @@ -0,0 +1,15 @@ + +Installation of Util-Linux + +We only need the mount and umount programs at the moment, so we won't +be compiling the entire package. + +Install Util-Linux by running the following commands: + +./configure && +make -C lib && +make -C mount LDFLAGS=-static mount umount && +cp mount/{mount,umount} $LFS/static/bin + + + diff --git a/chapter05/utillinux.xml b/chapter05/utillinux.xml new file mode 100644 index 000000000..a97f9b9c9 --- /dev/null +++ b/chapter05/utillinux.xml @@ -0,0 +1,11 @@ + +Installing Util-linux-&util-linux-version; + + +Estimated build time: &util-linux-time; +Estimated required disk space: &util-linux-compsize; + +&c5-utillinux-inst; +&aa-utillinux-dep; + + -- cgit v1.2.3-54-g00ecf