diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-25 00:21:12 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-25 00:21:12 +0000 |
commit | 1987d724ce4059e12b51962be50c59d30a4a148d (patch) | |
tree | 1c165b6c8cf19ed18668659078a71692e228b59e /chapter05 | |
parent | 5e2cb652195321c7f63b5d22077e583b75118178 (diff) |
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
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/creatingstaticdir.xml | 20 | ||||
-rw-r--r-- | chapter05/findutils-exp.xml | 9 | ||||
-rw-r--r-- | chapter05/findutils-inst.xml | 15 | ||||
-rw-r--r-- | chapter05/findutils.xml | 14 | ||||
-rw-r--r-- | chapter05/utillinux-inst.xml | 15 | ||||
-rw-r--r-- | chapter05/utillinux.xml | 11 |
6 files changed, 84 insertions, 0 deletions
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 @@ +<sect1 id="ch05-creatingstaticdir"> +<title>Creating the $LFS/static directory</title> +<?dbhtml filename="creatingstaticdir.html" dir="chapter05"?> + +<para>As explained in this chapter's introduction, everything we install +from this chapter will be installed under the <filename +class="directory">$LFS/static</filename> 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:</para> + +<para><screen><userinput>mkdir $LFS/static</userinput></screen></para> + +<para>You may want to move the packages you downloaded in chapter 3 to this +<filename class="directory">$LFS/static</filename> directory, perhaps +create a subdirectory <filename +class="directory">$LFS/static/src</filename> to keep them in.</para> + +</sect1> + 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 @@ +<sect2> +<title>Command explanations</title> + +<para><userinput>patch -Np1 -i ../findutils-4.1.patch</userinput>: This +patch is to fix some compilation errors by +avoiding a variable conflict and changing some bad syntax.</para> + +</sect2> + 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 @@ +<sect2> +<title>Installing Findutils</title> + +<para>This package requires its patch to be applied before you can +install it. Make sure it's unpacked before running the installation +commands.</para> + +<para>Install Findutils by running the following commands:</para> + +<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch && +./configure --prefix=$LFS/static && +make libexecdir=/static/bin LDFLAGS=-static && +make libexecdir=/static/bin install</userinput></screen></para> + +</sect2> 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 @@ +<sect1 id="ch05-findutils"> +<title>Installing Findutils-&findutils-version;</title> +<?dbhtml filename="findutils.html" dir="chapter05"?> + +<screen>Estimated build time: &findutils-time; +Estimated required disk space: &findutils-compsize;</screen> + +&c5-findutils-inst; +&c5-findutils-exp; +&aa-findutils-desc; +&aa-findutils-dep; + +</sect1> + 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 @@ +<sect2> +<title>Installation of Util-Linux</title> + +<para>We only need the mount and umount programs at the moment, so we won't +be compiling the entire package.</para> + +<para>Install Util-Linux by running the following commands:</para> + +<para><screen><userinput>./configure && +make -C lib && +make -C mount LDFLAGS=-static mount umount && +cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para> + +</sect2> + 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 @@ +<sect1 id="ch05-utillinux"> +<title>Installing Util-linux-&util-linux-version;</title> +<?dbhtml filename="util-linux.html" dir="chapter05"?> + +<screen>Estimated build time: &util-linux-time; +Estimated required disk space: &util-linux-compsize;</screen> + +&c5-utillinux-inst; +&aa-utillinux-dep; + +</sect1> |