From b08f4096533577934b885fa9df41d3881d141612 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Thu, 15 Feb 2001 15:26:52 +0000 Subject: Initial XML commit git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/aboutdebug.sgml | 69 ------------------------------- chapter06/aboutdebug.xml | 69 +++++++++++++++++++++++++++++++ chapter06/autoconf-inst.sgml | 17 -------- chapter06/autoconf-inst.xml | 17 ++++++++ chapter06/autoconf.sgml | 7 ---- chapter06/autoconf.xml | 7 ++++ chapter06/automake-inst.sgml | 16 -------- chapter06/automake-inst.xml | 16 ++++++++ chapter06/automake.sgml | 7 ---- chapter06/automake.xml | 7 ++++ chapter06/bash-inst.sgml | 33 --------------- chapter06/bash-inst.xml | 33 +++++++++++++++ chapter06/bash.sgml | 7 ---- chapter06/bash.xml | 7 ++++ chapter06/bashprofile.sgml | 38 ----------------- chapter06/bashprofile.xml | 38 +++++++++++++++++ chapter06/bin86-inst.sgml | 16 -------- chapter06/bin86-inst.xml | 16 ++++++++ chapter06/bin86.sgml | 7 ---- chapter06/bin86.xml | 7 ++++ chapter06/binutils-inst.sgml | 16 -------- chapter06/binutils-inst.xml | 16 ++++++++ chapter06/binutils.sgml | 7 ---- chapter06/binutils.xml | 7 ++++ chapter06/bison-exp.sgml | 10 ----- chapter06/bison-exp.xml | 10 +++++ chapter06/bison-inst.sgml | 45 -------------------- chapter06/bison-inst.xml | 45 ++++++++++++++++++++ chapter06/bison.sgml | 9 ---- chapter06/bison.xml | 9 ++++ chapter06/bzip2-exp.sgml | 12 ------ chapter06/bzip2-exp.xml | 12 ++++++ chapter06/bzip2-inst.sgml | 40 ------------------ chapter06/bzip2-inst.xml | 40 ++++++++++++++++++ chapter06/bzip2.sgml | 8 ---- chapter06/bzip2.xml | 8 ++++ chapter06/chapter06.xml | 63 ++++++++++++++++++++++++++++ chapter06/chapter6.sgml | 63 ---------------------------- chapter06/chroot.sgml | 47 --------------------- chapter06/chroot.xml | 47 +++++++++++++++++++++ chapter06/config-glibc.sgml | 88 ---------------------------------------- chapter06/config-glibc.xml | 88 ++++++++++++++++++++++++++++++++++++++++ chapter06/config-ldso.sgml | 43 -------------------- chapter06/config-ldso.xml | 43 ++++++++++++++++++++ chapter06/config-lilo.sgml | 46 --------------------- chapter06/config-lilo.xml | 46 +++++++++++++++++++++ chapter06/config-shadowpwd.sgml | 34 ---------------- chapter06/config-shadowpwd.xml | 34 ++++++++++++++++ chapter06/config-sysklogd.sgml | 27 ------------ chapter06/config-sysklogd.xml | 27 ++++++++++++ chapter06/config-sysvinit.sgml | 43 -------------------- chapter06/config-sysvinit.xml | 43 ++++++++++++++++++++ chapter06/config-vim.sgml | 24 ----------- chapter06/config-vim.xml | 24 +++++++++++ chapter06/configure.sgml | 19 --------- chapter06/configure.xml | 19 +++++++++ chapter06/consoledata-inst.sgml | 24 ----------- chapter06/consoledata-inst.xml | 24 +++++++++++ chapter06/consoledata.sgml | 7 ---- chapter06/consoledata.xml | 7 ++++ chapter06/consoletools-inst.sgml | 35 ---------------- chapter06/consoletools-inst.xml | 35 ++++++++++++++++ chapter06/consoletools.sgml | 7 ---- chapter06/consoletools.xml | 7 ++++ chapter06/create-password.sgml | 16 -------- chapter06/create-password.xml | 16 ++++++++ chapter06/create-utmp.sgml | 28 ------------- chapter06/create-utmp.xml | 28 +++++++++++++ chapter06/diffutils-inst.sgml | 17 -------- chapter06/diffutils-inst.xml | 17 ++++++++ chapter06/diffutils.sgml | 7 ---- chapter06/diffutils.xml | 7 ++++ chapter06/e2fsprogs-inst.sgml | 24 ----------- chapter06/e2fsprogs-inst.xml | 24 +++++++++++ chapter06/e2fsprogs.sgml | 7 ---- chapter06/e2fsprogs.xml | 7 ++++ chapter06/ed-inst.sgml | 18 -------- chapter06/ed-inst.xml | 18 ++++++++ chapter06/ed.sgml | 9 ---- chapter06/ed.xml | 9 ++++ chapter06/file-inst.sgml | 18 -------- chapter06/file-inst.xml | 18 ++++++++ chapter06/file.sgml | 8 ---- chapter06/file.xml | 8 ++++ chapter06/fileutils-inst.sgml | 21 ---------- chapter06/fileutils-inst.xml | 21 ++++++++++ chapter06/fileutils.sgml | 7 ---- chapter06/fileutils.xml | 7 ++++ chapter06/findutils-inst.sgml | 23 ----------- chapter06/findutils-inst.xml | 23 +++++++++++ chapter06/findutils.sgml | 8 ---- chapter06/findutils.xml | 8 ++++ chapter06/flex-inst.sgml | 19 --------- chapter06/flex-inst.xml | 19 +++++++++ chapter06/flex.sgml | 7 ---- chapter06/flex.xml | 7 ++++ chapter06/gcc-inst.sgml | 25 ------------ chapter06/gcc-inst.xml | 25 ++++++++++++ chapter06/gcc.sgml | 8 ---- chapter06/gcc.xml | 8 ++++ chapter06/gettext-inst.sgml | 18 -------- chapter06/gettext-inst.xml | 18 ++++++++ chapter06/gettext.sgml | 7 ---- chapter06/gettext.xml | 7 ++++ chapter06/glibc-exp.sgml | 18 -------- chapter06/glibc-exp.xml | 18 ++++++++ chapter06/glibc-inst.sgml | 51 ----------------------- chapter06/glibc-inst.xml | 51 +++++++++++++++++++++++ chapter06/glibc.sgml | 9 ---- chapter06/glibc.xml | 9 ++++ chapter06/grep-inst.sgml | 17 -------- chapter06/grep-inst.xml | 17 ++++++++ chapter06/grep.sgml | 7 ---- chapter06/grep.xml | 7 ++++ chapter06/groff-inst.sgml | 17 -------- chapter06/groff-inst.xml | 17 ++++++++ chapter06/groff.sgml | 8 ---- chapter06/groff.xml | 8 ++++ chapter06/gzip-inst.sgml | 24 ----------- chapter06/gzip-inst.xml | 24 +++++++++++ chapter06/gzip.sgml | 7 ---- chapter06/gzip.xml | 7 ++++ chapter06/introduction.sgml | 14 ------- chapter06/introduction.xml | 14 +++++++ chapter06/ldso-inst.sgml | 17 -------- chapter06/ldso-inst.xml | 17 ++++++++ chapter06/ldso.sgml | 7 ---- chapter06/ldso.xml | 7 ++++ chapter06/less-inst.sgml | 17 -------- chapter06/less-inst.xml | 17 ++++++++ chapter06/less.sgml | 8 ---- chapter06/less.xml | 8 ++++ chapter06/libtool-inst.sgml | 17 -------- chapter06/libtool-inst.xml | 17 ++++++++ chapter06/libtool.sgml | 7 ---- chapter06/libtool.xml | 7 ++++ chapter06/lilo-inst.sgml | 30 -------------- chapter06/lilo-inst.xml | 30 ++++++++++++++ chapter06/lilo.sgml | 7 ---- chapter06/lilo.xml | 7 ++++ chapter06/m4-inst.sgml | 57 -------------------------- chapter06/m4-inst.xml | 57 ++++++++++++++++++++++++++ chapter06/m4.sgml | 8 ---- chapter06/m4.xml | 8 ++++ chapter06/make-inst.sgml | 17 -------- chapter06/make-inst.xml | 17 ++++++++ chapter06/make.sgml | 7 ---- chapter06/make.xml | 7 ++++ chapter06/makedev-exp.sgml | 10 ----- chapter06/makedev-exp.xml | 10 +++++ chapter06/makedev-inst.sgml | 27 ------------ chapter06/makedev-inst.xml | 27 ++++++++++++ chapter06/makedev.sgml | 9 ---- chapter06/makedev.xml | 9 ++++ chapter06/man-exp.sgml | 21 ---------- chapter06/man-exp.xml | 21 ++++++++++ chapter06/man-inst.sgml | 22 ---------- chapter06/man-inst.xml | 22 ++++++++++ chapter06/man.sgml | 9 ---- chapter06/man.xml | 9 ++++ chapter06/manpages-inst.sgml | 15 ------- chapter06/manpages-inst.xml | 15 +++++++ chapter06/manpages.sgml | 7 ---- chapter06/manpages.xml | 7 ++++ chapter06/mawk-inst.sgml | 21 ---------- chapter06/mawk-inst.xml | 21 ++++++++++ chapter06/mawk.sgml | 8 ---- chapter06/mawk.xml | 8 ++++ chapter06/modutils-inst.sgml | 17 -------- chapter06/modutils-inst.xml | 17 ++++++++ chapter06/modutils.sgml | 7 ---- chapter06/modutils.xml | 7 ++++ chapter06/ncurses-exp.sgml | 21 ---------- chapter06/ncurses-exp.xml | 21 ++++++++++ chapter06/ncurses-inst.sgml | 21 ---------- chapter06/ncurses-inst.xml | 21 ++++++++++ chapter06/ncurses.sgml | 9 ---- chapter06/ncurses.xml | 9 ++++ chapter06/netkitbase.xml | 25 ++++++++++++ chapter06/nettools.xml | 21 ++++++++++ chapter06/patch-inst.sgml | 17 -------- chapter06/patch-inst.xml | 17 ++++++++ chapter06/patch.sgml | 8 ---- chapter06/patch.xml | 8 ++++ chapter06/perl-inst.sgml | 33 --------------- chapter06/perl-inst.xml | 33 +++++++++++++++ chapter06/perl.sgml | 8 ---- chapter06/perl.xml | 8 ++++ chapter06/procinfo-exp.sgml | 14 ------- chapter06/procinfo-exp.xml | 14 +++++++ chapter06/procinfo-inst.sgml | 17 -------- chapter06/procinfo-inst.xml | 17 ++++++++ chapter06/procinfo.sgml | 8 ---- chapter06/procinfo.xml | 8 ++++ chapter06/procps-exp.sgml | 14 ------- chapter06/procps-exp.xml | 14 +++++++ chapter06/procps-inst.sgml | 19 --------- chapter06/procps-inst.xml | 19 +++++++++ chapter06/procps.sgml | 8 ---- chapter06/procps.xml | 8 ++++ chapter06/psmisc-inst.sgml | 17 -------- chapter06/psmisc-inst.xml | 17 ++++++++ chapter06/psmisc.sgml | 7 ---- chapter06/psmisc.xml | 7 ++++ chapter06/removeoldnss.sgml | 17 -------- chapter06/removeoldnss.xml | 17 ++++++++ chapter06/sed-inst.sgml | 17 -------- chapter06/sed-inst.xml | 17 ++++++++ chapter06/sed.sgml | 7 ---- chapter06/sed.xml | 7 ++++ chapter06/shadowpwd-exp.sgml | 12 ------ chapter06/shadowpwd-exp.xml | 12 ++++++ chapter06/shadowpwd-inst.sgml | 22 ---------- chapter06/shadowpwd-inst.xml | 22 ++++++++++ chapter06/shadowpwd.sgml | 8 ---- chapter06/shadowpwd.xml | 8 ++++ chapter06/shellutils-inst.sgml | 20 --------- chapter06/shellutils-inst.xml | 20 +++++++++ chapter06/shellutils.sgml | 7 ---- chapter06/shellutils.xml | 7 ++++ chapter06/sysklogd-inst.sgml | 18 -------- chapter06/sysklogd-inst.xml | 18 ++++++++ chapter06/sysklogd.sgml | 7 ---- chapter06/sysklogd.xml | 7 ++++ chapter06/sysvinit-inst.sgml | 37 ----------------- chapter06/sysvinit-inst.xml | 37 +++++++++++++++++ chapter06/sysvinit.sgml | 7 ---- chapter06/sysvinit.xml | 7 ++++ chapter06/tar-inst.sgml | 39 ------------------ chapter06/tar-inst.xml | 39 ++++++++++++++++++ chapter06/tar.sgml | 7 ---- chapter06/tar.xml | 7 ++++ chapter06/texinfo-inst.sgml | 17 -------- chapter06/texinfo-inst.xml | 17 ++++++++ chapter06/texinfo.sgml | 7 ---- chapter06/texinfo.xml | 7 ++++ chapter06/textutils-inst.sgml | 18 -------- chapter06/textutils-inst.xml | 18 ++++++++ chapter06/textutils.sgml | 7 ---- chapter06/textutils.xml | 7 ++++ chapter06/utillinux-exp.sgml | 14 ------- chapter06/utillinux-exp.xml | 14 +++++++ chapter06/utillinux-inst.sgml | 23 ----------- chapter06/utillinux-inst.xml | 23 +++++++++++ chapter06/utillinux.sgml | 8 ---- chapter06/utillinux.xml | 8 ++++ chapter06/vim-inst.sgml | 39 ------------------ chapter06/vim-inst.xml | 39 ++++++++++++++++++ chapter06/vim.sgml | 7 ---- chapter06/vim.xml | 7 ++++ 250 files changed, 2342 insertions(+), 2296 deletions(-) delete mode 100644 chapter06/aboutdebug.sgml create mode 100644 chapter06/aboutdebug.xml delete mode 100644 chapter06/autoconf-inst.sgml create mode 100644 chapter06/autoconf-inst.xml delete mode 100644 chapter06/autoconf.sgml create mode 100644 chapter06/autoconf.xml delete mode 100644 chapter06/automake-inst.sgml create mode 100644 chapter06/automake-inst.xml delete mode 100644 chapter06/automake.sgml create mode 100644 chapter06/automake.xml delete mode 100644 chapter06/bash-inst.sgml create mode 100644 chapter06/bash-inst.xml delete mode 100644 chapter06/bash.sgml create mode 100644 chapter06/bash.xml delete mode 100644 chapter06/bashprofile.sgml create mode 100644 chapter06/bashprofile.xml delete mode 100644 chapter06/bin86-inst.sgml create mode 100644 chapter06/bin86-inst.xml delete mode 100644 chapter06/bin86.sgml create mode 100644 chapter06/bin86.xml delete mode 100644 chapter06/binutils-inst.sgml create mode 100644 chapter06/binutils-inst.xml delete mode 100644 chapter06/binutils.sgml create mode 100644 chapter06/binutils.xml delete mode 100644 chapter06/bison-exp.sgml create mode 100644 chapter06/bison-exp.xml delete mode 100644 chapter06/bison-inst.sgml create mode 100644 chapter06/bison-inst.xml delete mode 100644 chapter06/bison.sgml create mode 100644 chapter06/bison.xml delete mode 100644 chapter06/bzip2-exp.sgml create mode 100644 chapter06/bzip2-exp.xml delete mode 100644 chapter06/bzip2-inst.sgml create mode 100644 chapter06/bzip2-inst.xml delete mode 100644 chapter06/bzip2.sgml create mode 100644 chapter06/bzip2.xml create mode 100644 chapter06/chapter06.xml delete mode 100644 chapter06/chapter6.sgml delete mode 100644 chapter06/chroot.sgml create mode 100644 chapter06/chroot.xml delete mode 100644 chapter06/config-glibc.sgml create mode 100644 chapter06/config-glibc.xml delete mode 100644 chapter06/config-ldso.sgml create mode 100644 chapter06/config-ldso.xml delete mode 100644 chapter06/config-lilo.sgml create mode 100644 chapter06/config-lilo.xml delete mode 100644 chapter06/config-shadowpwd.sgml create mode 100644 chapter06/config-shadowpwd.xml delete mode 100644 chapter06/config-sysklogd.sgml create mode 100644 chapter06/config-sysklogd.xml delete mode 100644 chapter06/config-sysvinit.sgml create mode 100644 chapter06/config-sysvinit.xml delete mode 100644 chapter06/config-vim.sgml create mode 100644 chapter06/config-vim.xml delete mode 100644 chapter06/configure.sgml create mode 100644 chapter06/configure.xml delete mode 100644 chapter06/consoledata-inst.sgml create mode 100644 chapter06/consoledata-inst.xml delete mode 100644 chapter06/consoledata.sgml create mode 100644 chapter06/consoledata.xml delete mode 100644 chapter06/consoletools-inst.sgml create mode 100644 chapter06/consoletools-inst.xml delete mode 100644 chapter06/consoletools.sgml create mode 100644 chapter06/consoletools.xml delete mode 100644 chapter06/create-password.sgml create mode 100644 chapter06/create-password.xml delete mode 100644 chapter06/create-utmp.sgml create mode 100644 chapter06/create-utmp.xml delete mode 100644 chapter06/diffutils-inst.sgml create mode 100644 chapter06/diffutils-inst.xml delete mode 100644 chapter06/diffutils.sgml create mode 100644 chapter06/diffutils.xml delete mode 100644 chapter06/e2fsprogs-inst.sgml create mode 100644 chapter06/e2fsprogs-inst.xml delete mode 100644 chapter06/e2fsprogs.sgml create mode 100644 chapter06/e2fsprogs.xml delete mode 100644 chapter06/ed-inst.sgml create mode 100644 chapter06/ed-inst.xml delete mode 100644 chapter06/ed.sgml create mode 100644 chapter06/ed.xml delete mode 100644 chapter06/file-inst.sgml create mode 100644 chapter06/file-inst.xml delete mode 100644 chapter06/file.sgml create mode 100644 chapter06/file.xml delete mode 100644 chapter06/fileutils-inst.sgml create mode 100644 chapter06/fileutils-inst.xml delete mode 100644 chapter06/fileutils.sgml create mode 100644 chapter06/fileutils.xml delete mode 100644 chapter06/findutils-inst.sgml create mode 100644 chapter06/findutils-inst.xml delete mode 100644 chapter06/findutils.sgml create mode 100644 chapter06/findutils.xml delete mode 100644 chapter06/flex-inst.sgml create mode 100644 chapter06/flex-inst.xml delete mode 100644 chapter06/flex.sgml create mode 100644 chapter06/flex.xml delete mode 100644 chapter06/gcc-inst.sgml create mode 100644 chapter06/gcc-inst.xml delete mode 100644 chapter06/gcc.sgml create mode 100644 chapter06/gcc.xml delete mode 100644 chapter06/gettext-inst.sgml create mode 100644 chapter06/gettext-inst.xml delete mode 100644 chapter06/gettext.sgml create mode 100644 chapter06/gettext.xml delete mode 100644 chapter06/glibc-exp.sgml create mode 100644 chapter06/glibc-exp.xml delete mode 100644 chapter06/glibc-inst.sgml create mode 100644 chapter06/glibc-inst.xml delete mode 100644 chapter06/glibc.sgml create mode 100644 chapter06/glibc.xml delete mode 100644 chapter06/grep-inst.sgml create mode 100644 chapter06/grep-inst.xml delete mode 100644 chapter06/grep.sgml create mode 100644 chapter06/grep.xml delete mode 100644 chapter06/groff-inst.sgml create mode 100644 chapter06/groff-inst.xml delete mode 100644 chapter06/groff.sgml create mode 100644 chapter06/groff.xml delete mode 100644 chapter06/gzip-inst.sgml create mode 100644 chapter06/gzip-inst.xml delete mode 100644 chapter06/gzip.sgml create mode 100644 chapter06/gzip.xml delete mode 100644 chapter06/introduction.sgml create mode 100644 chapter06/introduction.xml delete mode 100644 chapter06/ldso-inst.sgml create mode 100644 chapter06/ldso-inst.xml delete mode 100644 chapter06/ldso.sgml create mode 100644 chapter06/ldso.xml delete mode 100644 chapter06/less-inst.sgml create mode 100644 chapter06/less-inst.xml delete mode 100644 chapter06/less.sgml create mode 100644 chapter06/less.xml delete mode 100644 chapter06/libtool-inst.sgml create mode 100644 chapter06/libtool-inst.xml delete mode 100644 chapter06/libtool.sgml create mode 100644 chapter06/libtool.xml delete mode 100644 chapter06/lilo-inst.sgml create mode 100644 chapter06/lilo-inst.xml delete mode 100644 chapter06/lilo.sgml create mode 100644 chapter06/lilo.xml delete mode 100644 chapter06/m4-inst.sgml create mode 100644 chapter06/m4-inst.xml delete mode 100644 chapter06/m4.sgml create mode 100644 chapter06/m4.xml delete mode 100644 chapter06/make-inst.sgml create mode 100644 chapter06/make-inst.xml delete mode 100644 chapter06/make.sgml create mode 100644 chapter06/make.xml delete mode 100644 chapter06/makedev-exp.sgml create mode 100644 chapter06/makedev-exp.xml delete mode 100644 chapter06/makedev-inst.sgml create mode 100644 chapter06/makedev-inst.xml delete mode 100644 chapter06/makedev.sgml create mode 100644 chapter06/makedev.xml delete mode 100644 chapter06/man-exp.sgml create mode 100644 chapter06/man-exp.xml delete mode 100644 chapter06/man-inst.sgml create mode 100644 chapter06/man-inst.xml delete mode 100644 chapter06/man.sgml create mode 100644 chapter06/man.xml delete mode 100644 chapter06/manpages-inst.sgml create mode 100644 chapter06/manpages-inst.xml delete mode 100644 chapter06/manpages.sgml create mode 100644 chapter06/manpages.xml delete mode 100644 chapter06/mawk-inst.sgml create mode 100644 chapter06/mawk-inst.xml delete mode 100644 chapter06/mawk.sgml create mode 100644 chapter06/mawk.xml delete mode 100644 chapter06/modutils-inst.sgml create mode 100644 chapter06/modutils-inst.xml delete mode 100644 chapter06/modutils.sgml create mode 100644 chapter06/modutils.xml delete mode 100644 chapter06/ncurses-exp.sgml create mode 100644 chapter06/ncurses-exp.xml delete mode 100644 chapter06/ncurses-inst.sgml create mode 100644 chapter06/ncurses-inst.xml delete mode 100644 chapter06/ncurses.sgml create mode 100644 chapter06/ncurses.xml create mode 100644 chapter06/netkitbase.xml create mode 100644 chapter06/nettools.xml delete mode 100644 chapter06/patch-inst.sgml create mode 100644 chapter06/patch-inst.xml delete mode 100644 chapter06/patch.sgml create mode 100644 chapter06/patch.xml delete mode 100644 chapter06/perl-inst.sgml create mode 100644 chapter06/perl-inst.xml delete mode 100644 chapter06/perl.sgml create mode 100644 chapter06/perl.xml delete mode 100644 chapter06/procinfo-exp.sgml create mode 100644 chapter06/procinfo-exp.xml delete mode 100644 chapter06/procinfo-inst.sgml create mode 100644 chapter06/procinfo-inst.xml delete mode 100644 chapter06/procinfo.sgml create mode 100644 chapter06/procinfo.xml delete mode 100644 chapter06/procps-exp.sgml create mode 100644 chapter06/procps-exp.xml delete mode 100644 chapter06/procps-inst.sgml create mode 100644 chapter06/procps-inst.xml delete mode 100644 chapter06/procps.sgml create mode 100644 chapter06/procps.xml delete mode 100644 chapter06/psmisc-inst.sgml create mode 100644 chapter06/psmisc-inst.xml delete mode 100644 chapter06/psmisc.sgml create mode 100644 chapter06/psmisc.xml delete mode 100644 chapter06/removeoldnss.sgml create mode 100644 chapter06/removeoldnss.xml delete mode 100644 chapter06/sed-inst.sgml create mode 100644 chapter06/sed-inst.xml delete mode 100644 chapter06/sed.sgml create mode 100644 chapter06/sed.xml delete mode 100644 chapter06/shadowpwd-exp.sgml create mode 100644 chapter06/shadowpwd-exp.xml delete mode 100644 chapter06/shadowpwd-inst.sgml create mode 100644 chapter06/shadowpwd-inst.xml delete mode 100644 chapter06/shadowpwd.sgml create mode 100644 chapter06/shadowpwd.xml delete mode 100644 chapter06/shellutils-inst.sgml create mode 100644 chapter06/shellutils-inst.xml delete mode 100644 chapter06/shellutils.sgml create mode 100644 chapter06/shellutils.xml delete mode 100644 chapter06/sysklogd-inst.sgml create mode 100644 chapter06/sysklogd-inst.xml delete mode 100644 chapter06/sysklogd.sgml create mode 100644 chapter06/sysklogd.xml delete mode 100644 chapter06/sysvinit-inst.sgml create mode 100644 chapter06/sysvinit-inst.xml delete mode 100644 chapter06/sysvinit.sgml create mode 100644 chapter06/sysvinit.xml delete mode 100644 chapter06/tar-inst.sgml create mode 100644 chapter06/tar-inst.xml delete mode 100644 chapter06/tar.sgml create mode 100644 chapter06/tar.xml delete mode 100644 chapter06/texinfo-inst.sgml create mode 100644 chapter06/texinfo-inst.xml delete mode 100644 chapter06/texinfo.sgml create mode 100644 chapter06/texinfo.xml delete mode 100644 chapter06/textutils-inst.sgml create mode 100644 chapter06/textutils-inst.xml delete mode 100644 chapter06/textutils.sgml create mode 100644 chapter06/textutils.xml delete mode 100644 chapter06/utillinux-exp.sgml create mode 100644 chapter06/utillinux-exp.xml delete mode 100644 chapter06/utillinux-inst.sgml create mode 100644 chapter06/utillinux-inst.xml delete mode 100644 chapter06/utillinux.sgml create mode 100644 chapter06/utillinux.xml delete mode 100644 chapter06/vim-inst.sgml create mode 100644 chapter06/vim-inst.xml delete mode 100644 chapter06/vim.sgml create mode 100644 chapter06/vim.xml (limited to 'chapter06') diff --git a/chapter06/aboutdebug.sgml b/chapter06/aboutdebug.sgml deleted file mode 100644 index 5bd7a671e..000000000 --- a/chapter06/aboutdebug.sgml +++ /dev/null @@ -1,69 +0,0 @@ - -About debugging symbols - - -Most programs and libraries by default are compiled with debugging -symbols and optimizing level 2 (gcc options -g and -O2) and are compiled -for a specific CPU. On Intel platforms software is compiled for i386 -processors by default. If you don't wish to run software on other -machines other than your own, you might want to change the default -compiler options so that they will be compiled with a higher -optimization level, no debugging symbols and generate code for your -specific architecture. Let me first explain what debugging symbols -are. - - - -A program compiled with debugging symbols means you can run a program or -library through a debugger and the debugger's output will be user friendlier. -These debugging symbols also enlarge the program or library significantly. - - - -To remove debugging symbols from a binary (must be an a.out or ELF binary) -run strip --strip-debug filename You can use wild cards -if you need to strip debugging symbols from multiple files (use something like -strip --strip-debug $LFS/usr/bin/*). Another, easier, options is just -not to compile programs with debugging symbols. Most people will probably -never use a debugger on software, so by leaving those symbols out you -can save a lot of diskspace. - - - -Before you wonder if these debugging symbols would make a big difference, -here are some statistics: - - - - - - A dynamic Bash binary with debugging symbols: 1.2MB - - - - A dynamic Bash binary without debugging symbols: 478KB - - - - /lib and /usr/lib (glibc and gcc files) with debugging - symbols: 87MB - - - - /lib and /usr/lib (glibc and gcc files) without - debugging symbols: 16MB - - - - - -Sizes may vary depending on which compiler was used and which C library -version was used to link dynamic programs against, but your results will be -similar if you compare programs with and without debugging symbols. After -I was done with this chapter and stripped all debugging symbols from all LFS -binaries and libraries I regained a little over 102 MB of disk space. Quite -the difference. - - - - diff --git a/chapter06/aboutdebug.xml b/chapter06/aboutdebug.xml new file mode 100644 index 000000000..5bd7a671e --- /dev/null +++ b/chapter06/aboutdebug.xml @@ -0,0 +1,69 @@ + +About debugging symbols + + +Most programs and libraries by default are compiled with debugging +symbols and optimizing level 2 (gcc options -g and -O2) and are compiled +for a specific CPU. On Intel platforms software is compiled for i386 +processors by default. If you don't wish to run software on other +machines other than your own, you might want to change the default +compiler options so that they will be compiled with a higher +optimization level, no debugging symbols and generate code for your +specific architecture. Let me first explain what debugging symbols +are. + + + +A program compiled with debugging symbols means you can run a program or +library through a debugger and the debugger's output will be user friendlier. +These debugging symbols also enlarge the program or library significantly. + + + +To remove debugging symbols from a binary (must be an a.out or ELF binary) +run strip --strip-debug filename You can use wild cards +if you need to strip debugging symbols from multiple files (use something like +strip --strip-debug $LFS/usr/bin/*). Another, easier, options is just +not to compile programs with debugging symbols. Most people will probably +never use a debugger on software, so by leaving those symbols out you +can save a lot of diskspace. + + + +Before you wonder if these debugging symbols would make a big difference, +here are some statistics: + + + + + + A dynamic Bash binary with debugging symbols: 1.2MB + + + + A dynamic Bash binary without debugging symbols: 478KB + + + + /lib and /usr/lib (glibc and gcc files) with debugging + symbols: 87MB + + + + /lib and /usr/lib (glibc and gcc files) without + debugging symbols: 16MB + + + + + +Sizes may vary depending on which compiler was used and which C library +version was used to link dynamic programs against, but your results will be +similar if you compare programs with and without debugging symbols. After +I was done with this chapter and stripped all debugging symbols from all LFS +binaries and libraries I regained a little over 102 MB of disk space. Quite +the difference. + + + + diff --git a/chapter06/autoconf-inst.sgml b/chapter06/autoconf-inst.sgml deleted file mode 100644 index 6d66859a3..000000000 --- a/chapter06/autoconf-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Autoconf - - -Install Autoconf by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/autoconf-inst.xml b/chapter06/autoconf-inst.xml new file mode 100644 index 000000000..6d66859a3 --- /dev/null +++ b/chapter06/autoconf-inst.xml @@ -0,0 +1,17 @@ + +Installation of Autoconf + + +Install Autoconf by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/autoconf.sgml b/chapter06/autoconf.sgml deleted file mode 100644 index 6c39ab22c..000000000 --- a/chapter06/autoconf.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Autoconf - -&c6-autoconf-inst; -&aa-autoconf-desc; - - diff --git a/chapter06/autoconf.xml b/chapter06/autoconf.xml new file mode 100644 index 000000000..6c39ab22c --- /dev/null +++ b/chapter06/autoconf.xml @@ -0,0 +1,7 @@ + +Installing Autoconf + +&c6-autoconf-inst; +&aa-autoconf-desc; + + diff --git a/chapter06/automake-inst.sgml b/chapter06/automake-inst.sgml deleted file mode 100644 index a15fd7f82..000000000 --- a/chapter06/automake-inst.sgml +++ /dev/null @@ -1,16 +0,0 @@ - -Installation of Automake - - -Install Automake by running the following commands: - - -
- - ./configure --prefix=/usr && - make install - -
- -
- diff --git a/chapter06/automake-inst.xml b/chapter06/automake-inst.xml new file mode 100644 index 000000000..a15fd7f82 --- /dev/null +++ b/chapter06/automake-inst.xml @@ -0,0 +1,16 @@ + +Installation of Automake + + +Install Automake by running the following commands: + + +
+ + ./configure --prefix=/usr && + make install + +
+ +
+ diff --git a/chapter06/automake.sgml b/chapter06/automake.sgml deleted file mode 100644 index 205a854d1..000000000 --- a/chapter06/automake.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Automake - -&c6-automake-inst; -&aa-automake-desc; - - diff --git a/chapter06/automake.xml b/chapter06/automake.xml new file mode 100644 index 000000000..205a854d1 --- /dev/null +++ b/chapter06/automake.xml @@ -0,0 +1,7 @@ + +Installing Automake + +&c6-automake-inst; +&aa-automake-desc; + + diff --git a/chapter06/bash-inst.sgml b/chapter06/bash-inst.sgml deleted file mode 100644 index 790ea5344..000000000 --- a/chapter06/bash-inst.sgml +++ /dev/null @@ -1,33 +0,0 @@ - -Installation of Bash - - -Install Bash by running the following commands: - - -
- - ./configure --prefix=/usr --with-curses - && - make && - make install && - logout - -
- - -Replace the static bash with the dynamic bash and re-enter the chroot'ed -environment by running: - - -
- - mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug - $LFS/bin && - chroot $LFS /usr/bin/env -i HOME=/root /bin/bash - --login - -
- -
- diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml new file mode 100644 index 000000000..790ea5344 --- /dev/null +++ b/chapter06/bash-inst.xml @@ -0,0 +1,33 @@ + +Installation of Bash + + +Install Bash by running the following commands: + + +
+ + ./configure --prefix=/usr --with-curses + && + make && + make install && + logout + +
+ + +Replace the static bash with the dynamic bash and re-enter the chroot'ed +environment by running: + + +
+ + mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug + $LFS/bin && + chroot $LFS /usr/bin/env -i HOME=/root /bin/bash + --login + +
+ +
+ diff --git a/chapter06/bash.sgml b/chapter06/bash.sgml deleted file mode 100644 index 5223af8c2..000000000 --- a/chapter06/bash.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Bash - -&c6-bash-inst; -&aa-bash-desc; - - diff --git a/chapter06/bash.xml b/chapter06/bash.xml new file mode 100644 index 000000000..5223af8c2 --- /dev/null +++ b/chapter06/bash.xml @@ -0,0 +1,7 @@ + +Installing Bash + +&c6-bash-inst; +&aa-bash-desc; + + diff --git a/chapter06/bashprofile.sgml b/chapter06/bashprofile.sgml deleted file mode 100644 index f34ae8251..000000000 --- a/chapter06/bashprofile.sgml +++ /dev/null @@ -1,38 +0,0 @@ - -Creating $LFS/root/.bash_profile - - -When we have entered the chroot'ed environment in the next section we -want to export a couple of environment variables in that shell such as -PS1, PATH and others variables you want to have set. For that purpose we'll -create the $LFS/root/.bash_profile file which will be read by bash when we -enter the chroot environment. - - - -Create a new file $LFS/root/.bash_profile -by running the following. - - - - -cat > $LFS/root/.bash_profile << "EOF" -# Begin /root/.bash_profile - -PS1='\u:\w\$ ' -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -export PS1 PATH - -# End /root/.bash_profile -EOF - - - - -You can add more environment variables,aliases and whatever else you -need/want at your own discretion as you deem them necessary. - - - - diff --git a/chapter06/bashprofile.xml b/chapter06/bashprofile.xml new file mode 100644 index 000000000..f34ae8251 --- /dev/null +++ b/chapter06/bashprofile.xml @@ -0,0 +1,38 @@ + +Creating $LFS/root/.bash_profile + + +When we have entered the chroot'ed environment in the next section we +want to export a couple of environment variables in that shell such as +PS1, PATH and others variables you want to have set. For that purpose we'll +create the $LFS/root/.bash_profile file which will be read by bash when we +enter the chroot environment. + + + +Create a new file $LFS/root/.bash_profile +by running the following. + + + + +cat > $LFS/root/.bash_profile << "EOF" +# Begin /root/.bash_profile + +PS1='\u:\w\$ ' +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +export PS1 PATH + +# End /root/.bash_profile +EOF + + + + +You can add more environment variables,aliases and whatever else you +need/want at your own discretion as you deem them necessary. + + + + diff --git a/chapter06/bin86-inst.sgml b/chapter06/bin86-inst.sgml deleted file mode 100644 index bd75c6d25..000000000 --- a/chapter06/bin86-inst.sgml +++ /dev/null @@ -1,16 +0,0 @@ - -Installation of Bin86 - - -Install Bin86 by running the following commands: - - -
- - make && - make PREFIX=/usr install - -
- -
- diff --git a/chapter06/bin86-inst.xml b/chapter06/bin86-inst.xml new file mode 100644 index 000000000..bd75c6d25 --- /dev/null +++ b/chapter06/bin86-inst.xml @@ -0,0 +1,16 @@ + +Installation of Bin86 + + +Install Bin86 by running the following commands: + + +
+ + make && + make PREFIX=/usr install + +
+ +
+ diff --git a/chapter06/bin86.sgml b/chapter06/bin86.sgml deleted file mode 100644 index a31e9af84..000000000 --- a/chapter06/bin86.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Bin86 - -&c6-bin86-inst; -&aa-bin86-desc; - - diff --git a/chapter06/bin86.xml b/chapter06/bin86.xml new file mode 100644 index 000000000..a31e9af84 --- /dev/null +++ b/chapter06/bin86.xml @@ -0,0 +1,7 @@ + +Installing Bin86 + +&c6-bin86-inst; +&aa-bin86-desc; + + diff --git a/chapter06/binutils-inst.sgml b/chapter06/binutils-inst.sgml deleted file mode 100644 index ed32aab18..000000000 --- a/chapter06/binutils-inst.sgml +++ /dev/null @@ -1,16 +0,0 @@ -Installation of Binutils - - -Install Binutils by running the following commands: - - -
- - ./configure --prefix=/usr --enable-shared && - make -e tooldir=/usr && - make -e tooldir=/usr install - -
- -
- diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml new file mode 100644 index 000000000..ed32aab18 --- /dev/null +++ b/chapter06/binutils-inst.xml @@ -0,0 +1,16 @@ +Installation of Binutils + + +Install Binutils by running the following commands: + + +
+ + ./configure --prefix=/usr --enable-shared && + make -e tooldir=/usr && + make -e tooldir=/usr install + +
+ +
+ diff --git a/chapter06/binutils.sgml b/chapter06/binutils.sgml deleted file mode 100644 index 150249b96..000000000 --- a/chapter06/binutils.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Binutils - -&c6-binutils-inst; -&aa-binutils-desc; - - diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml new file mode 100644 index 000000000..150249b96 --- /dev/null +++ b/chapter06/binutils.xml @@ -0,0 +1,7 @@ + +Installing Binutils + +&c6-binutils-inst; +&aa-binutils-desc; + + diff --git a/chapter06/bison-exp.sgml b/chapter06/bison-exp.sgml deleted file mode 100644 index 427d991a3..000000000 --- a/chapter06/bison-exp.sgml +++ /dev/null @@ -1,10 +0,0 @@ - -Command explanations - - ---datadir=/usr/share/bison: This install the -bison grammar files in /usr/share/bison rather than /usr/share. - - - - diff --git a/chapter06/bison-exp.xml b/chapter06/bison-exp.xml new file mode 100644 index 000000000..427d991a3 --- /dev/null +++ b/chapter06/bison-exp.xml @@ -0,0 +1,10 @@ + +Command explanations + + +--datadir=/usr/share/bison: This install the +bison grammar files in /usr/share/bison rather than /usr/share. + + + + diff --git a/chapter06/bison-inst.sgml b/chapter06/bison-inst.sgml deleted file mode 100644 index 6d44ec182..000000000 --- a/chapter06/bison-inst.sgml +++ /dev/null @@ -1,45 +0,0 @@ - -Installation of Bison - - -Install Bison by running the following commands: - - -
- - ./configure --prefix=/usr \ -    --datadir=/usr/share/bison - && - make && - make install - -
- - -Some programs don't know about bison and try to find the yacc program -(bison is a (better) alternative for yacc). So to please those few -programs out there we'll create a yacc script that calls bison and have -it emulate yacc's output file name conventions). - - - -Create a new file /usr/bin/yacc by running the -following: - - - - -cat > /usr/bin/yacc << "EOF" -#!/bin/sh -# Begin /usr/bin/yacc - -/usr/bin/bison -y "$@" - -# End /usr/bin/yacc -EOF -chmod 755 /usr/bin/yacc - - - -
- diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml new file mode 100644 index 000000000..6d44ec182 --- /dev/null +++ b/chapter06/bison-inst.xml @@ -0,0 +1,45 @@ + +Installation of Bison + + +Install Bison by running the following commands: + + +
+ + ./configure --prefix=/usr \ +    --datadir=/usr/share/bison + && + make && + make install + +
+ + +Some programs don't know about bison and try to find the yacc program +(bison is a (better) alternative for yacc). So to please those few +programs out there we'll create a yacc script that calls bison and have +it emulate yacc's output file name conventions). + + + +Create a new file /usr/bin/yacc by running the +following: + + + + +cat > /usr/bin/yacc << "EOF" +#!/bin/sh +# Begin /usr/bin/yacc + +/usr/bin/bison -y "$@" + +# End /usr/bin/yacc +EOF +chmod 755 /usr/bin/yacc + + + +
+ diff --git a/chapter06/bison.sgml b/chapter06/bison.sgml deleted file mode 100644 index 8c3ab9fd0..000000000 --- a/chapter06/bison.sgml +++ /dev/null @@ -1,9 +0,0 @@ - -Installing Bison - -&c6-bison-inst; -&c6-bison-exp; -&aa-bison-desc; - - - diff --git a/chapter06/bison.xml b/chapter06/bison.xml new file mode 100644 index 000000000..8c3ab9fd0 --- /dev/null +++ b/chapter06/bison.xml @@ -0,0 +1,9 @@ + +Installing Bison + +&c6-bison-inst; +&c6-bison-exp; +&aa-bison-desc; + + + diff --git a/chapter06/bzip2-exp.sgml b/chapter06/bzip2-exp.sgml deleted file mode 100644 index 10e4129e4..000000000 --- a/chapter06/bzip2-exp.sgml +++ /dev/null @@ -1,12 +0,0 @@ - -Command explanations - - -make -f Makefile-libbz2_so: This will cause bzip2 -to be build using a different Makefile file, in this case the -Makefile-libbz2_so file which creates a dynamic libbz2.so library and -links the bzip2 utilities against it. - - - - diff --git a/chapter06/bzip2-exp.xml b/chapter06/bzip2-exp.xml new file mode 100644 index 000000000..10e4129e4 --- /dev/null +++ b/chapter06/bzip2-exp.xml @@ -0,0 +1,12 @@ + +Command explanations + + +make -f Makefile-libbz2_so: This will cause bzip2 +to be build using a different Makefile file, in this case the +Makefile-libbz2_so file which creates a dynamic libbz2.so library and +links the bzip2 utilities against it. + + + + diff --git a/chapter06/bzip2-inst.sgml b/chapter06/bzip2-inst.sgml deleted file mode 100644 index 1e244d197..000000000 --- a/chapter06/bzip2-inst.sgml +++ /dev/null @@ -1,40 +0,0 @@ - -Installation of Bzip2 - - -Install Bzip2 by running the following commands: - - -
- - make -f Makefile-libbz2_so && - make bzip2recover libbz2.a && - cp bzip2-shared /bin/bzip2 && - cp bzip2recover /bin && - cp bzip2.1 /usr/share/man/man1 && - cp bzlib.h /usr/include && - cp -a libbz2.so* libbz2.a /lib && - rm /usr/lib/libbz2.a && - cd /bin && - rm bunzip2 && ln -s bzip2 bunzip2 && - rm bzcat && ln -s bzip2 bzcat && - cd /usr/share/man/man1 && - ln -s bzip2.1 bunzip2.1 && - ln -s bzip2.1 bzcat.1 && - ln -s bzip2.1 bzip2recover.1 - -
- - -Although it's not strictly a part of a basic LFS system it's worth -mentioning that you can download a patch for Tar which enables the tar -program to compress and uncompress using bzip2/bunzip2 easily. With a -plain tar you'll have to use constructions like bzcat file.tar.bz|tar -xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and -bunzip2 with tar. This patch gives you the -y option so you can unpack a -Bzip2 archive with tar xvfy file.tar.bz2. Applying this patch will be -mentioned later on when you re-install the Tar package. - - -
- diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml new file mode 100644 index 000000000..1e244d197 --- /dev/null +++ b/chapter06/bzip2-inst.xml @@ -0,0 +1,40 @@ + +Installation of Bzip2 + + +Install Bzip2 by running the following commands: + + +
+ + make -f Makefile-libbz2_so && + make bzip2recover libbz2.a && + cp bzip2-shared /bin/bzip2 && + cp bzip2recover /bin && + cp bzip2.1 /usr/share/man/man1 && + cp bzlib.h /usr/include && + cp -a libbz2.so* libbz2.a /lib && + rm /usr/lib/libbz2.a && + cd /bin && + rm bunzip2 && ln -s bzip2 bunzip2 && + rm bzcat && ln -s bzip2 bzcat && + cd /usr/share/man/man1 && + ln -s bzip2.1 bunzip2.1 && + ln -s bzip2.1 bzcat.1 && + ln -s bzip2.1 bzip2recover.1 + +
+ + +Although it's not strictly a part of a basic LFS system it's worth +mentioning that you can download a patch for Tar which enables the tar +program to compress and uncompress using bzip2/bunzip2 easily. With a +plain tar you'll have to use constructions like bzcat file.tar.bz|tar +xv or tar --use-compress-prog=bunzip2 -xvf file.tar.bz2 to use bzip2 and +bunzip2 with tar. This patch gives you the -y option so you can unpack a +Bzip2 archive with tar xvfy file.tar.bz2. Applying this patch will be +mentioned later on when you re-install the Tar package. + + +
+ diff --git a/chapter06/bzip2.sgml b/chapter06/bzip2.sgml deleted file mode 100644 index 26cc475a2..000000000 --- a/chapter06/bzip2.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Bzip2 - -&c6-bzip2-inst; -&c6-bzip2-exp; -&aa-bzip2-desc; - - diff --git a/chapter06/bzip2.xml b/chapter06/bzip2.xml new file mode 100644 index 000000000..26cc475a2 --- /dev/null +++ b/chapter06/bzip2.xml @@ -0,0 +1,8 @@ + +Installing Bzip2 + +&c6-bzip2-inst; +&c6-bzip2-exp; +&aa-bzip2-desc; + + diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml new file mode 100644 index 000000000..e22299dc6 --- /dev/null +++ b/chapter06/chapter06.xml @@ -0,0 +1,63 @@ + +Installing basic system software + +&c6troduction; +&c6-aboutdebug; +&c6-bashprofile; +&c6-chroot; + +&c6-makedev; +&c6-glibc; +&c6-manpages; +&c6-ed; +&c6-patch; +&c6-findutils; +&c6-mawk; +&c6-ncurses; +&c6-vim; +&c6-gcc; +&c6-bison; +&c6-less; +&c6-groff; +&c6-man; +&c6-perl; +&c6-m4; +&c6-texinfo; +&c6-autoconf; +&c6-automake; +&c6-bash; +&c6-flex; +&c6-file; +&c6-libtool; +&c6-bin86; +&c6-binutils; +&c6-bzip2; +&c6-gettext; +&c6-consoletools; +&c6-consoledata; +&c6-diffutils; +&c6-e2fsprogs; +&c6-fileutils; +&c6-grep; +&c6-gzip; +&c6-ldso; +&c6-lilo; +&c6-make; +&c6-modutils; +&c6-procinfo; +&c6-procps; +&c6-psmisc; +&c6-sed; +&c6-shellutils; +&c6-shadowpwd; +&c6-sysklogd; +&c6-sysvinit; +&c6-tar; +&c6-textutils; +&c6-utillinux; + +&c6-nssremove; +&c6-configure; + + + diff --git a/chapter06/chapter6.sgml b/chapter06/chapter6.sgml deleted file mode 100644 index e22299dc6..000000000 --- a/chapter06/chapter6.sgml +++ /dev/null @@ -1,63 +0,0 @@ - -Installing basic system software - -&c6troduction; -&c6-aboutdebug; -&c6-bashprofile; -&c6-chroot; - -&c6-makedev; -&c6-glibc; -&c6-manpages; -&c6-ed; -&c6-patch; -&c6-findutils; -&c6-mawk; -&c6-ncurses; -&c6-vim; -&c6-gcc; -&c6-bison; -&c6-less; -&c6-groff; -&c6-man; -&c6-perl; -&c6-m4; -&c6-texinfo; -&c6-autoconf; -&c6-automake; -&c6-bash; -&c6-flex; -&c6-file; -&c6-libtool; -&c6-bin86; -&c6-binutils; -&c6-bzip2; -&c6-gettext; -&c6-consoletools; -&c6-consoledata; -&c6-diffutils; -&c6-e2fsprogs; -&c6-fileutils; -&c6-grep; -&c6-gzip; -&c6-ldso; -&c6-lilo; -&c6-make; -&c6-modutils; -&c6-procinfo; -&c6-procps; -&c6-psmisc; -&c6-sed; -&c6-shellutils; -&c6-shadowpwd; -&c6-sysklogd; -&c6-sysvinit; -&c6-tar; -&c6-textutils; -&c6-utillinux; - -&c6-nssremove; -&c6-configure; - - - diff --git a/chapter06/chroot.sgml b/chapter06/chroot.sgml deleted file mode 100644 index 4851a2862..000000000 --- a/chapter06/chroot.sgml +++ /dev/null @@ -1,47 +0,0 @@ - -Entering the chroot'ed environment - - -It's time to enter our chroot'ed environment in order to install the -rest of the software we need. - - - -Enter the following command to enter the chroot'ed environment. From -this point on there's no need to use the $LFS variable anymore, because -everything you do will be restricted to the LFS partition (since / is -actually /mnt/lfs but the shell doesn't know that). - - -
- - cd $LFS && - chroot $LFS /usr/bin/env -i HOME=/root - \ -    TERM=$TERM /bin/bash --login - -
- - -The TERM=$TERM construction will set the $TERM value inside -chroot to the same value as outside chroot which is needed for programs -like vim and less to operate properly. - - - -Now that we are inside a chroot'ed environment, we can continue to -install all the basic system software. Make sure you execute all the -following commands in this and following chapters from within the -chroot'ed environment. If you ever leave this environment for a reason -(say when you reboot or something) don't forget to mount $LFS/proc again -like you did earlier and to re-enter chroot before you continue with the -book. - - - -Note that the bash prompt will contain "I have no name!". This is -normal; Glibc hasn't been installed yet. - - -
- diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml new file mode 100644 index 000000000..4851a2862 --- /dev/null +++ b/chapter06/chroot.xml @@ -0,0 +1,47 @@ + +Entering the chroot'ed environment + + +It's time to enter our chroot'ed environment in order to install the +rest of the software we need. + + + +Enter the following command to enter the chroot'ed environment. From +this point on there's no need to use the $LFS variable anymore, because +everything you do will be restricted to the LFS partition (since / is +actually /mnt/lfs but the shell doesn't know that). + + +
+ + cd $LFS && + chroot $LFS /usr/bin/env -i HOME=/root + \ +    TERM=$TERM /bin/bash --login + +
+ + +The TERM=$TERM construction will set the $TERM value inside +chroot to the same value as outside chroot which is needed for programs +like vim and less to operate properly. + + + +Now that we are inside a chroot'ed environment, we can continue to +install all the basic system software. Make sure you execute all the +following commands in this and following chapters from within the +chroot'ed environment. If you ever leave this environment for a reason +(say when you reboot or something) don't forget to mount $LFS/proc again +like you did earlier and to re-enter chroot before you continue with the +book. + + + +Note that the bash prompt will contain "I have no name!". This is +normal; Glibc hasn't been installed yet. + + +
+ diff --git a/chapter06/config-glibc.sgml b/chapter06/config-glibc.sgml deleted file mode 100644 index 5272c536e..000000000 --- a/chapter06/config-glibc.sgml +++ /dev/null @@ -1,88 +0,0 @@ -Configuring Glibc - - -We need to create the /etc/nsswitch.conf file. Although glibc should provide -defaults when this file is missing or corrupt, it's defaults don't work work -well with networking which will be dealt with in a later chapter. Also, our -timezone needs to be setup. - - - -Create a new file /etc/nsswitch.conf by running the -following: - - - - -cat > /etc/nsswitch.conf << "EOF" -# Begin /etc/nsswitch.conf - -passwd: files -group: files -shadow: files - -publickey: files - -hosts: files dns -networks: files - -protocols: db files -services: db files -ethers: db files -rpc: db files - -netgroup: db files - -# End /etc/nsswitch.conf -EOF - - - - -Run the tzselect script and answer the questions -regarding your timezone. When you're done, the script will give you the -location of the timezone file you need. - - - -Create the /etc/localtime symlink -by running: - - -
- - cd /etc && - rm localtime && - ln -s ../usr/share/zoneinfo/<tzselect's output> - localtime - -
- - -tzselect's output can be something like EST5EDT or -Canada/Eastern. - - - -The symlink you would create with that information would be: - - -
- - ln -s ../usr/share/zoneinfo/EST5EDT localtime - -
- - -Or: - - -
- - ln -s ../usr/share/zoneinfo/Canada/Eastern localtime - - -
- -
- diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml new file mode 100644 index 000000000..5272c536e --- /dev/null +++ b/chapter06/config-glibc.xml @@ -0,0 +1,88 @@ +Configuring Glibc + + +We need to create the /etc/nsswitch.conf file. Although glibc should provide +defaults when this file is missing or corrupt, it's defaults don't work work +well with networking which will be dealt with in a later chapter. Also, our +timezone needs to be setup. + + + +Create a new file /etc/nsswitch.conf by running the +following: + + + + +cat > /etc/nsswitch.conf << "EOF" +# Begin /etc/nsswitch.conf + +passwd: files +group: files +shadow: files + +publickey: files + +hosts: files dns +networks: files + +protocols: db files +services: db files +ethers: db files +rpc: db files + +netgroup: db files + +# End /etc/nsswitch.conf +EOF + + + + +Run the tzselect script and answer the questions +regarding your timezone. When you're done, the script will give you the +location of the timezone file you need. + + + +Create the /etc/localtime symlink +by running: + + +
+ + cd /etc && + rm localtime && + ln -s ../usr/share/zoneinfo/<tzselect's output> + localtime + +
+ + +tzselect's output can be something like EST5EDT or +Canada/Eastern. + + + +The symlink you would create with that information would be: + + +
+ + ln -s ../usr/share/zoneinfo/EST5EDT localtime + +
+ + +Or: + + +
+ + ln -s ../usr/share/zoneinfo/Canada/Eastern localtime + + +
+ +
+ diff --git a/chapter06/config-ldso.sgml b/chapter06/config-ldso.sgml deleted file mode 100644 index c340db151..000000000 --- a/chapter06/config-ldso.sgml +++ /dev/null @@ -1,43 +0,0 @@ - -Configuring Dynamic Loader - - -By default the dynamic loader searches a few default paths for dynamic -libraries, so there normally isn't a need for the -/etc/ld.so.conf file unless you have extra -directories in which you want the system to search for paths. The -/usr/local/lib directory isn't -searched through for dynamic libraries by default, so we want to add -this path so when you install software you won't be suprised by them not -running for some reason. - - - -Create a new file /etc/ld.so.conf by running the -following: - - - - -cat > /etc/ld.so.conf << "EOF" -# Begin /etc/ld.so.conf - -/lib -/usr/lib -/usr/local/lib - -# End /etc/ld.so.conf -EOF - - - - -Although it's not necessary to add the -/lib and -/usr/lib directories it doesn't -hurt. This way you see right away what's being searched and don't have -to remeber the default search paths if you don't want to. - - - - diff --git a/chapter06/config-ldso.xml b/chapter06/config-ldso.xml new file mode 100644 index 000000000..c340db151 --- /dev/null +++ b/chapter06/config-ldso.xml @@ -0,0 +1,43 @@ + +Configuring Dynamic Loader + + +By default the dynamic loader searches a few default paths for dynamic +libraries, so there normally isn't a need for the +/etc/ld.so.conf file unless you have extra +directories in which you want the system to search for paths. The +/usr/local/lib directory isn't +searched through for dynamic libraries by default, so we want to add +this path so when you install software you won't be suprised by them not +running for some reason. + + + +Create a new file /etc/ld.so.conf by running the +following: + + + + +cat > /etc/ld.so.conf << "EOF" +# Begin /etc/ld.so.conf + +/lib +/usr/lib +/usr/local/lib + +# End /etc/ld.so.conf +EOF + + + + +Although it's not necessary to add the +/lib and +/usr/lib directories it doesn't +hurt. This way you see right away what's being searched and don't have +to remeber the default search paths if you don't want to. + + + + diff --git a/chapter06/config-lilo.sgml b/chapter06/config-lilo.sgml deleted file mode 100644 index 1e61cc9f1..000000000 --- a/chapter06/config-lilo.sgml +++ /dev/null @@ -1,46 +0,0 @@ - -Configuring Lilo - - -We're not going to create lilo's configuration file from scratch, but we'll -use the file from your normal Linux system. This file is different on every -machine and thus I can't create it here. Since you would want to have the -same options regarding lilo as you have when you're using your normal Linux -system you would create the file exactly as it is on the normal system. - - - -Copy the Lilo configuration file and kernel images that Lilo uses by -running the following commands from a shell on your normal Linux system. -Don't execute these commands from your chroot'ed shell. - - -
- - cp /etc/lilo.conf $LFS/etc - cp /boot/<kernel images> $LFS/boot - -
- - -Before you can execute the second command you need to know the names of -the kernel images. You can't just copy all files from the /boot -directory. The /etc/lilo.conf file contains the names of the kernel -images you're using. Open the file and look for lines like this: - - -
- - image=/boot/vmlinuz - -
- - -Look for all image variables and their values -represent the name and location of the image files. These files will -usually be in /boot but they might be in other directories as well, -depending on your distribution's conventions. - - -
- diff --git a/chapter06/config-lilo.xml b/chapter06/config-lilo.xml new file mode 100644 index 000000000..1e61cc9f1 --- /dev/null +++ b/chapter06/config-lilo.xml @@ -0,0 +1,46 @@ + +Configuring Lilo + + +We're not going to create lilo's configuration file from scratch, but we'll +use the file from your normal Linux system. This file is different on every +machine and thus I can't create it here. Since you would want to have the +same options regarding lilo as you have when you're using your normal Linux +system you would create the file exactly as it is on the normal system. + + + +Copy the Lilo configuration file and kernel images that Lilo uses by +running the following commands from a shell on your normal Linux system. +Don't execute these commands from your chroot'ed shell. + + +
+ + cp /etc/lilo.conf $LFS/etc + cp /boot/<kernel images> $LFS/boot + +
+ + +Before you can execute the second command you need to know the names of +the kernel images. You can't just copy all files from the /boot +directory. The /etc/lilo.conf file contains the names of the kernel +images you're using. Open the file and look for lines like this: + + +
+ + image=/boot/vmlinuz + +
+ + +Look for all image variables and their values +represent the name and location of the image files. These files will +usually be in /boot but they might be in other directories as well, +depending on your distribution's conventions. + + +
+ diff --git a/chapter06/config-shadowpwd.sgml b/chapter06/config-shadowpwd.sgml deleted file mode 100644 index 1d60f05e2..000000000 --- a/chapter06/config-shadowpwd.sgml +++ /dev/null @@ -1,34 +0,0 @@ -Configuring Shadow Password Suite - - -This package contains the utilities to modify user's passwords, add new -users/groups, delete users/groups and more. I'm not going to explain to you -what 'password shadowing' means. You can read all about that in the doc/HOWTO -file within the unpacked shadow password suite's source tree. There's one -thing you should keep in mind, if you decide to use shadow support, that -programs that need to verify passwords (examples are xdm, ftp daemons, -pop3 daemons, etc) need to be 'shadow-compliant', eg. they need to -be able to work with shadow'ed passwords. - - - -Shadow'ed passwords are not enabled by default. Simply installing the -shadow password suite does not enable shadow'ed passwords. - - - -Now is a very good moment to read chapter 5 of the doc/HOWTO file. You can -read how you can enable shadow'ed passwords, how to test whether shadowing -works and if not, how to disable it again. - - - -The documentation mentions something about the creation of npasswd and -nshadow after you run pwconv. This is an error in the documentation. -Those two files will be be created. After you run pwconv, /etc/passwd -will no longer contain the passwords and /etc/shadow will. You don't -need to rename the npasswd and nshadow files yourself. - - - - diff --git a/chapter06/config-shadowpwd.xml b/chapter06/config-shadowpwd.xml new file mode 100644 index 000000000..1d60f05e2 --- /dev/null +++ b/chapter06/config-shadowpwd.xml @@ -0,0 +1,34 @@ +Configuring Shadow Password Suite + + +This package contains the utilities to modify user's passwords, add new +users/groups, delete users/groups and more. I'm not going to explain to you +what 'password shadowing' means. You can read all about that in the doc/HOWTO +file within the unpacked shadow password suite's source tree. There's one +thing you should keep in mind, if you decide to use shadow support, that +programs that need to verify passwords (examples are xdm, ftp daemons, +pop3 daemons, etc) need to be 'shadow-compliant', eg. they need to +be able to work with shadow'ed passwords. + + + +Shadow'ed passwords are not enabled by default. Simply installing the +shadow password suite does not enable shadow'ed passwords. + + + +Now is a very good moment to read chapter 5 of the doc/HOWTO file. You can +read how you can enable shadow'ed passwords, how to test whether shadowing +works and if not, how to disable it again. + + + +The documentation mentions something about the creation of npasswd and +nshadow after you run pwconv. This is an error in the documentation. +Those two files will be be created. After you run pwconv, /etc/passwd +will no longer contain the passwords and /etc/shadow will. You don't +need to rename the npasswd and nshadow files yourself. + + + + diff --git a/chapter06/config-sysklogd.sgml b/chapter06/config-sysklogd.sgml deleted file mode 100644 index 12a12563b..000000000 --- a/chapter06/config-sysklogd.sgml +++ /dev/null @@ -1,27 +0,0 @@ -Configuring Sysklogd - - -Create a new file /etc/syslog.conf by running the -following: - - - - -cat > /etc/syslog.conf << "EOF" -# Begin /etc/syslog.conf - -auth,authpriv.* -/var/log/auth.log -*.*;auth,authpriv.none -/var/log/sys.log -daemon.* -/var/log/daemon.log -kern.* -/var/log/kern.log -mail.* -/var/log/mail.log -user.* -/var/log/user.log -*.emerg * - -# End /etc/syslog.conf -EOF - - - - - diff --git a/chapter06/config-sysklogd.xml b/chapter06/config-sysklogd.xml new file mode 100644 index 000000000..12a12563b --- /dev/null +++ b/chapter06/config-sysklogd.xml @@ -0,0 +1,27 @@ +Configuring Sysklogd + + +Create a new file /etc/syslog.conf by running the +following: + + + + +cat > /etc/syslog.conf << "EOF" +# Begin /etc/syslog.conf + +auth,authpriv.* -/var/log/auth.log +*.*;auth,authpriv.none -/var/log/sys.log +daemon.* -/var/log/daemon.log +kern.* -/var/log/kern.log +mail.* -/var/log/mail.log +user.* -/var/log/user.log +*.emerg * + +# End /etc/syslog.conf +EOF + + + + + diff --git a/chapter06/config-sysvinit.sgml b/chapter06/config-sysvinit.sgml deleted file mode 100644 index ada018f9d..000000000 --- a/chapter06/config-sysvinit.sgml +++ /dev/null @@ -1,43 +0,0 @@ -Configuring Sysvinit - - -Create a new file /etc/inittab by running the -following: - - - - -cat > /etc/inittab << "EOF" -# Begin /etc/inittab - -id:3:initdefault: - -si::sysinit:/etc/init.d/rcS - -l0:0:wait:/etc/init.d/rc 0 -l1:S1:wait:/etc/init.d/rc 1 -l2:2:wait:/etc/init.d/rc 2 -l3:3:wait:/etc/init.d/rc 3 -l4:4:wait:/etc/init.d/rc 4 -l5:5:wait:/etc/init.d/rc 5 -l6:6:wait:/etc/init.d/rc 6 - -ft:06:respawn:/sbin/sulogin - -ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now - -su:S1:respawn:/sbin/sulogin -1:2345:respawn:/sbin/agetty tty1 9600 -2:2345:respawn:/sbin/agetty tty2 9600 -3:2345:respawn:/sbin/agetty tty3 9600 -4:2345:respawn:/sbin/agetty tty4 9600 -5:2345:respawn:/sbin/agetty tty5 9600 -6:2345:respawn:/sbin/agetty tty6 9600 - -# End /etc/inittab -EOF - - - - - diff --git a/chapter06/config-sysvinit.xml b/chapter06/config-sysvinit.xml new file mode 100644 index 000000000..ada018f9d --- /dev/null +++ b/chapter06/config-sysvinit.xml @@ -0,0 +1,43 @@ +Configuring Sysvinit + + +Create a new file /etc/inittab by running the +following: + + + + +cat > /etc/inittab << "EOF" +# Begin /etc/inittab + +id:3:initdefault: + +si::sysinit:/etc/init.d/rcS + +l0:0:wait:/etc/init.d/rc 0 +l1:S1:wait:/etc/init.d/rc 1 +l2:2:wait:/etc/init.d/rc 2 +l3:3:wait:/etc/init.d/rc 3 +l4:4:wait:/etc/init.d/rc 4 +l5:5:wait:/etc/init.d/rc 5 +l6:6:wait:/etc/init.d/rc 6 + +ft:06:respawn:/sbin/sulogin + +ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now + +su:S1:respawn:/sbin/sulogin +1:2345:respawn:/sbin/agetty tty1 9600 +2:2345:respawn:/sbin/agetty tty2 9600 +3:2345:respawn:/sbin/agetty tty3 9600 +4:2345:respawn:/sbin/agetty tty4 9600 +5:2345:respawn:/sbin/agetty tty5 9600 +6:2345:respawn:/sbin/agetty tty6 9600 + +# End /etc/inittab +EOF + + + + + diff --git a/chapter06/config-vim.sgml b/chapter06/config-vim.sgml deleted file mode 100644 index 4e8146aa1..000000000 --- a/chapter06/config-vim.sgml +++ /dev/null @@ -1,24 +0,0 @@ -Configuring Vim - - -By default Vim runs in vi compatible mode. Some people might like this, -but I have a high preference to run vim in vim mode (else I wouldn't -have included Vim in this book but the original Vi). Create the -/root/.vimrc by running the following: - - - - -cat > /root/.vimrc << "EOF" -" Begin /root/.vimrc - -set nocompatible -set bs=2 - -" End /root/.vimrc -EOF - - - - - diff --git a/chapter06/config-vim.xml b/chapter06/config-vim.xml new file mode 100644 index 000000000..4e8146aa1 --- /dev/null +++ b/chapter06/config-vim.xml @@ -0,0 +1,24 @@ +Configuring Vim + + +By default Vim runs in vi compatible mode. Some people might like this, +but I have a high preference to run vim in vim mode (else I wouldn't +have included Vim in this book but the original Vi). Create the +/root/.vimrc by running the following: + + + + +cat > /root/.vimrc << "EOF" +" Begin /root/.vimrc + +set nocompatible +set bs=2 + +" End /root/.vimrc +EOF + + + + + diff --git a/chapter06/configure.sgml b/chapter06/configure.sgml deleted file mode 100644 index b3478066c..000000000 --- a/chapter06/configure.sgml +++ /dev/null @@ -1,19 +0,0 @@ - -Configuring essential software - - -Now that all software is installed, all that we need to do to get a few -programs running properly is to create their configuration files. - - -&c6-cf-vim; -&c6-cf-glibc; -&c6-cf-ldso; -&c6-cf-lilo; -&c6-cf-sysklogd; -&c6-cf-shadowpwd; -&c6-cf-sysvinit; -&c6-cf-utmp; -&c6-cf-password; - - diff --git a/chapter06/configure.xml b/chapter06/configure.xml new file mode 100644 index 000000000..b3478066c --- /dev/null +++ b/chapter06/configure.xml @@ -0,0 +1,19 @@ + +Configuring essential software + + +Now that all software is installed, all that we need to do to get a few +programs running properly is to create their configuration files. + + +&c6-cf-vim; +&c6-cf-glibc; +&c6-cf-ldso; +&c6-cf-lilo; +&c6-cf-sysklogd; +&c6-cf-shadowpwd; +&c6-cf-sysvinit; +&c6-cf-utmp; +&c6-cf-password; + + diff --git a/chapter06/consoledata-inst.sgml b/chapter06/consoledata-inst.sgml deleted file mode 100644 index 382be9e93..000000000 --- a/chapter06/consoledata-inst.sgml +++ /dev/null @@ -1,24 +0,0 @@ - -Installation of Console-data - - -Replace <path-to-kmap-file> below with the correct path to the -desired kmap.gz file. An example could be i386/qwerty/us.kmap.gz - - - -Install Console-data by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - cd /usr/share/keymaps && - ln -s <path-to-kmap-file> defkeymap.kmap.gz - -
- -
- diff --git a/chapter06/consoledata-inst.xml b/chapter06/consoledata-inst.xml new file mode 100644 index 000000000..382be9e93 --- /dev/null +++ b/chapter06/consoledata-inst.xml @@ -0,0 +1,24 @@ + +Installation of Console-data + + +Replace <path-to-kmap-file> below with the correct path to the +desired kmap.gz file. An example could be i386/qwerty/us.kmap.gz + + + +Install Console-data by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + cd /usr/share/keymaps && + ln -s <path-to-kmap-file> defkeymap.kmap.gz + +
+ +
+ diff --git a/chapter06/consoledata.sgml b/chapter06/consoledata.sgml deleted file mode 100644 index 9c8fbe922..000000000 --- a/chapter06/consoledata.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Consoledata - -&c6-consoledata-inst; -&aa-consoledata-desc; - - diff --git a/chapter06/consoledata.xml b/chapter06/consoledata.xml new file mode 100644 index 000000000..9c8fbe922 --- /dev/null +++ b/chapter06/consoledata.xml @@ -0,0 +1,7 @@ + +Installing Consoledata + +&c6-consoledata-inst; +&aa-consoledata-desc; + + diff --git a/chapter06/consoletools-inst.sgml b/chapter06/consoletools-inst.sgml deleted file mode 100644 index e4639fbdf..000000000 --- a/chapter06/consoletools-inst.sgml +++ /dev/null @@ -1,35 +0,0 @@ - -Installation of Console-tools - - -Before you start installing Console-tools you have to unpack the -console-tools-0.2.3.patch file. - - - -Install Console-tools by running the following commands: - - -
- - patch -Np1 -i ../console-tools-0.2.3.patch - && - ./configure --prefix=/usr && - make && - make install && - cd doc/man && - sed s/"@datadir@"/"\/usr\/share"/ - consolechars.8.in > consolechars.8 && - sed s/"@datadir@"/"\/usr\/share"/ - dumpkeys.1.in > dumpkeys.1 && - sed s/"@datadir@"/"\/usr\/share"/ - loadkeys.1.in > loadkeys.1 && - cp *.1 /usr/share/man/man1 && - cp *.4 /usr/share/man/man4 && - cp *.5 /usr/share/man/man5 && - cp *.8 /usr/share/man/man8 - -
- -
- diff --git a/chapter06/consoletools-inst.xml b/chapter06/consoletools-inst.xml new file mode 100644 index 000000000..e4639fbdf --- /dev/null +++ b/chapter06/consoletools-inst.xml @@ -0,0 +1,35 @@ + +Installation of Console-tools + + +Before you start installing Console-tools you have to unpack the +console-tools-0.2.3.patch file. + + + +Install Console-tools by running the following commands: + + +
+ + patch -Np1 -i ../console-tools-0.2.3.patch + && + ./configure --prefix=/usr && + make && + make install && + cd doc/man && + sed s/"@datadir@"/"\/usr\/share"/ + consolechars.8.in > consolechars.8 && + sed s/"@datadir@"/"\/usr\/share"/ + dumpkeys.1.in > dumpkeys.1 && + sed s/"@datadir@"/"\/usr\/share"/ + loadkeys.1.in > loadkeys.1 && + cp *.1 /usr/share/man/man1 && + cp *.4 /usr/share/man/man4 && + cp *.5 /usr/share/man/man5 && + cp *.8 /usr/share/man/man8 + +
+ +
+ diff --git a/chapter06/consoletools.sgml b/chapter06/consoletools.sgml deleted file mode 100644 index d0f92c556..000000000 --- a/chapter06/consoletools.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Consoletools - -&c6-consoletools-inst; -&aa-consoletools-desc; - - diff --git a/chapter06/consoletools.xml b/chapter06/consoletools.xml new file mode 100644 index 000000000..d0f92c556 --- /dev/null +++ b/chapter06/consoletools.xml @@ -0,0 +1,7 @@ + +Installing Consoletools + +&c6-consoletools-inst; +&aa-consoletools-desc; + + diff --git a/chapter06/create-password.sgml b/chapter06/create-password.sgml deleted file mode 100644 index 4c2aee8ab..000000000 --- a/chapter06/create-password.sgml +++ /dev/null @@ -1,16 +0,0 @@ - -Creating root password - - -Choose a password for user root and create it by running the following -command: - - -
- -passwd root - -
- -
- diff --git a/chapter06/create-password.xml b/chapter06/create-password.xml new file mode 100644 index 000000000..4c2aee8ab --- /dev/null +++ b/chapter06/create-password.xml @@ -0,0 +1,16 @@ + +Creating root password + + +Choose a password for user root and create it by running the following +command: + + +
+ +passwd root + +
+ +
+ diff --git a/chapter06/create-utmp.sgml b/chapter06/create-utmp.sgml deleted file mode 100644 index fad585278..000000000 --- a/chapter06/create-utmp.sgml +++ /dev/null @@ -1,28 +0,0 @@ - -Creating the /var/run/utmp, /var/log/wtmp and /var/log/btmp -files - - -Programs like login, shutdown, uptime and others want to read from and write -to the /var/run/utmp /var/log/btmp and /var/log/wtmp. These files contain -information about who is currently logged in. It also contains information -on when the computer was last booted and shutdown and a record of the -bad login attemps. - - - -Create these files with their proper permissions by running the -following commands: - - -
- - touch /var/run/utmp /var/log/wtmp /var/log/btmp - /var/log/lastlog && - chmod 644 /var/run/utmp /var/log/wtmp /var/log/btmp - /var/log/lastlog - -
- -
- diff --git a/chapter06/create-utmp.xml b/chapter06/create-utmp.xml new file mode 100644 index 000000000..fad585278 --- /dev/null +++ b/chapter06/create-utmp.xml @@ -0,0 +1,28 @@ + +Creating the /var/run/utmp, /var/log/wtmp and /var/log/btmp +files + + +Programs like login, shutdown, uptime and others want to read from and write +to the /var/run/utmp /var/log/btmp and /var/log/wtmp. These files contain +information about who is currently logged in. It also contains information +on when the computer was last booted and shutdown and a record of the +bad login attemps. + + + +Create these files with their proper permissions by running the +following commands: + + +
+ + touch /var/run/utmp /var/log/wtmp /var/log/btmp + /var/log/lastlog && + chmod 644 /var/run/utmp /var/log/wtmp /var/log/btmp + /var/log/lastlog + +
+ +
+ diff --git a/chapter06/diffutils-inst.sgml b/chapter06/diffutils-inst.sgml deleted file mode 100644 index 9b2dd5587..000000000 --- a/chapter06/diffutils-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Diffutils - - -Install Diffutils by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/diffutils-inst.xml b/chapter06/diffutils-inst.xml new file mode 100644 index 000000000..9b2dd5587 --- /dev/null +++ b/chapter06/diffutils-inst.xml @@ -0,0 +1,17 @@ + +Installation of Diffutils + + +Install Diffutils by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/diffutils.sgml b/chapter06/diffutils.sgml deleted file mode 100644 index c8f43e767..000000000 --- a/chapter06/diffutils.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Diffutils - -&c6-diffutils-inst; -&aa-diffutils-desc; - - diff --git a/chapter06/diffutils.xml b/chapter06/diffutils.xml new file mode 100644 index 000000000..c8f43e767 --- /dev/null +++ b/chapter06/diffutils.xml @@ -0,0 +1,7 @@ + +Installing Diffutils + +&c6-diffutils-inst; +&aa-diffutils-desc; + + diff --git a/chapter06/e2fsprogs-inst.sgml b/chapter06/e2fsprogs-inst.sgml deleted file mode 100644 index ca3324ce7..000000000 --- a/chapter06/e2fsprogs-inst.sgml +++ /dev/null @@ -1,24 +0,0 @@ - -Installation of E2fsprogs - - -Install E2fsprogs by running the following commands: - - - -Please note that the empty --with-root-prefix= option below is supposed -to be like this. I did not forget to supply a value there. - - -
- - ./configure --prefix=/usr --with-root-prefix= \ -    --enable-elf-shlibs && - make && - make install && - make install-libs - -
- -
- diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml new file mode 100644 index 000000000..ca3324ce7 --- /dev/null +++ b/chapter06/e2fsprogs-inst.xml @@ -0,0 +1,24 @@ + +Installation of E2fsprogs + + +Install E2fsprogs by running the following commands: + + + +Please note that the empty --with-root-prefix= option below is supposed +to be like this. I did not forget to supply a value there. + + +
+ + ./configure --prefix=/usr --with-root-prefix= \ +    --enable-elf-shlibs && + make && + make install && + make install-libs + +
+ +
+ diff --git a/chapter06/e2fsprogs.sgml b/chapter06/e2fsprogs.sgml deleted file mode 100644 index 0026e7c77..000000000 --- a/chapter06/e2fsprogs.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing E2fsprogs - -&c6-e2fsprogs-inst; -&aa-e2fsprogs-desc; - - diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml new file mode 100644 index 000000000..0026e7c77 --- /dev/null +++ b/chapter06/e2fsprogs.xml @@ -0,0 +1,7 @@ + +Installing E2fsprogs + +&c6-e2fsprogs-inst; +&aa-e2fsprogs-desc; + + diff --git a/chapter06/ed-inst.sgml b/chapter06/ed-inst.sgml deleted file mode 100644 index 9e846d210..000000000 --- a/chapter06/ed-inst.sgml +++ /dev/null @@ -1,18 +0,0 @@ - -Installation of Ed - - -Install Ed by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - mv /usr/bin/ed /usr/bin/red /bin - -
- -
- diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml new file mode 100644 index 000000000..9e846d210 --- /dev/null +++ b/chapter06/ed-inst.xml @@ -0,0 +1,18 @@ + +Installation of Ed + + +Install Ed by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + mv /usr/bin/ed /usr/bin/red /bin + +
+ +
+ diff --git a/chapter06/ed.sgml b/chapter06/ed.sgml deleted file mode 100644 index 3846452d2..000000000 --- a/chapter06/ed.sgml +++ /dev/null @@ -1,9 +0,0 @@ - -Installing Ed - -&c6-ed-inst; -&aa-ed-desc; - - - - diff --git a/chapter06/ed.xml b/chapter06/ed.xml new file mode 100644 index 000000000..3846452d2 --- /dev/null +++ b/chapter06/ed.xml @@ -0,0 +1,9 @@ + +Installing Ed + +&c6-ed-inst; +&aa-ed-desc; + + + + diff --git a/chapter06/file-inst.sgml b/chapter06/file-inst.sgml deleted file mode 100644 index bcfc90cf1..000000000 --- a/chapter06/file-inst.sgml +++ /dev/null @@ -1,18 +0,0 @@ - -Installation of File - - -Install File by running the following commands: - - -
- - ./configure --prefix=/usr - --datadir=/usr/share/misc && - make && - make install - -
- -
- diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml new file mode 100644 index 000000000..bcfc90cf1 --- /dev/null +++ b/chapter06/file-inst.xml @@ -0,0 +1,18 @@ + +Installation of File + + +Install File by running the following commands: + + +
+ + ./configure --prefix=/usr + --datadir=/usr/share/misc && + make && + make install + +
+ +
+ diff --git a/chapter06/file.sgml b/chapter06/file.sgml deleted file mode 100644 index 21ee1607e..000000000 --- a/chapter06/file.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing File - -&c6-file-inst; -&aa-file-desc; - - - diff --git a/chapter06/file.xml b/chapter06/file.xml new file mode 100644 index 000000000..21ee1607e --- /dev/null +++ b/chapter06/file.xml @@ -0,0 +1,8 @@ + +Installing File + +&c6-file-inst; +&aa-file-desc; + + + diff --git a/chapter06/fileutils-inst.sgml b/chapter06/fileutils-inst.sgml deleted file mode 100644 index 55023e615..000000000 --- a/chapter06/fileutils-inst.sgml +++ /dev/null @@ -1,21 +0,0 @@ - -Installation of Fileutils - - -Install Fileutils by running the following commands: - - -
- - patch -Np1 -i ../fileutils-4.0.patch - && - ./configure --prefix=/usr --bindir=/bin \ -    --libexecdir=/bin - && - make && - make install - -
- -
- diff --git a/chapter06/fileutils-inst.xml b/chapter06/fileutils-inst.xml new file mode 100644 index 000000000..55023e615 --- /dev/null +++ b/chapter06/fileutils-inst.xml @@ -0,0 +1,21 @@ + +Installation of Fileutils + + +Install Fileutils by running the following commands: + + +
+ + patch -Np1 -i ../fileutils-4.0.patch + && + ./configure --prefix=/usr --bindir=/bin \ +    --libexecdir=/bin + && + make && + make install + +
+ +
+ diff --git a/chapter06/fileutils.sgml b/chapter06/fileutils.sgml deleted file mode 100644 index 25f2c5cfc..000000000 --- a/chapter06/fileutils.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Fileutils - -&c6-fileutils-inst; -&aa-fileutils-desc; - - diff --git a/chapter06/fileutils.xml b/chapter06/fileutils.xml new file mode 100644 index 000000000..25f2c5cfc --- /dev/null +++ b/chapter06/fileutils.xml @@ -0,0 +1,7 @@ + +Installing Fileutils + +&c6-fileutils-inst; +&aa-fileutils-desc; + + diff --git a/chapter06/findutils-inst.sgml b/chapter06/findutils-inst.sgml deleted file mode 100644 index 860c0d5b1..000000000 --- a/chapter06/findutils-inst.sgml +++ /dev/null @@ -1,23 +0,0 @@ - -Installing Findutils - - -Before you install Findutils you have to unpack the findutils patch -file. - - - -Install Findutils by running the following commands: - - -
- - patch -Np1 -i ../findutils-4.1.patch && - ./configure --prefix=/usr && - make && - make libexecdir=/usr/bin install - -
- -
- diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml new file mode 100644 index 000000000..860c0d5b1 --- /dev/null +++ b/chapter06/findutils-inst.xml @@ -0,0 +1,23 @@ + +Installing Findutils + + +Before you install Findutils you have to unpack the findutils patch +file. + + + +Install Findutils by running the following commands: + + +
+ + patch -Np1 -i ../findutils-4.1.patch && + ./configure --prefix=/usr && + make && + make libexecdir=/usr/bin install + +
+ +
+ diff --git a/chapter06/findutils.sgml b/chapter06/findutils.sgml deleted file mode 100644 index 1959957c8..000000000 --- a/chapter06/findutils.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Findutils - -&c6-findutils-inst; -&aa-findutils-desc; - - - diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml new file mode 100644 index 000000000..1959957c8 --- /dev/null +++ b/chapter06/findutils.xml @@ -0,0 +1,8 @@ + +Installing Findutils + +&c6-findutils-inst; +&aa-findutils-desc; + + + diff --git a/chapter06/flex-inst.sgml b/chapter06/flex-inst.sgml deleted file mode 100644 index f93f42bcb..000000000 --- a/chapter06/flex-inst.sgml +++ /dev/null @@ -1,19 +0,0 @@ - -Installation of Flex - - -Install Flex by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - cd /usr/bin && - ln -s flex lex - -
- -
- diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml new file mode 100644 index 000000000..f93f42bcb --- /dev/null +++ b/chapter06/flex-inst.xml @@ -0,0 +1,19 @@ + +Installation of Flex + + +Install Flex by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + cd /usr/bin && + ln -s flex lex + +
+ +
+ diff --git a/chapter06/flex.sgml b/chapter06/flex.sgml deleted file mode 100644 index 485c4c5bb..000000000 --- a/chapter06/flex.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Flex - -&c6-flex-inst; -&aa-flex-desc; - - diff --git a/chapter06/flex.xml b/chapter06/flex.xml new file mode 100644 index 000000000..485c4c5bb --- /dev/null +++ b/chapter06/flex.xml @@ -0,0 +1,7 @@ + +Installing Flex + +&c6-flex-inst; +&aa-flex-desc; + + diff --git a/chapter06/gcc-inst.sgml b/chapter06/gcc-inst.sgml deleted file mode 100644 index 4fc8539c4..000000000 --- a/chapter06/gcc-inst.sgml +++ /dev/null @@ -1,25 +0,0 @@ - -Installation of GCC - - -After you unpacked the gcc-2.95.2.1 archive don't enter the newly created -gcc-2.95.2.1 directory but stay in the /usr/src directory. Install GCC by -running the following commands: - - -
- - mkdir /usr/src/gcc-build && - cd /usr/src/gcc-build && - ../gcc-2.95.2.1/configure --prefix=/usr \ -    --with-gxx-include-dir=/usr/include/g++ - \ -    --enable-shared - --enable-languages=c,c++ && - make bootstrap && - make install - -
- -
- diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml new file mode 100644 index 000000000..4fc8539c4 --- /dev/null +++ b/chapter06/gcc-inst.xml @@ -0,0 +1,25 @@ + +Installation of GCC + + +After you unpacked the gcc-2.95.2.1 archive don't enter the newly created +gcc-2.95.2.1 directory but stay in the /usr/src directory. Install GCC by +running the following commands: + + +
+ + mkdir /usr/src/gcc-build && + cd /usr/src/gcc-build && + ../gcc-2.95.2.1/configure --prefix=/usr \ +    --with-gxx-include-dir=/usr/include/g++ + \ +    --enable-shared + --enable-languages=c,c++ && + make bootstrap && + make install + +
+ +
+ diff --git a/chapter06/gcc.sgml b/chapter06/gcc.sgml deleted file mode 100644 index f7180b9d2..000000000 --- a/chapter06/gcc.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing GCC - -&c6-gcc-inst; -&aa-gcc-desc; - - - diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml new file mode 100644 index 000000000..f7180b9d2 --- /dev/null +++ b/chapter06/gcc.xml @@ -0,0 +1,8 @@ + +Installing GCC + +&c6-gcc-inst; +&aa-gcc-desc; + + + diff --git a/chapter06/gettext-inst.sgml b/chapter06/gettext-inst.sgml deleted file mode 100644 index aaa3bc125..000000000 --- a/chapter06/gettext-inst.sgml +++ /dev/null @@ -1,18 +0,0 @@ - -Installation of Gettext - - -Install Gettext by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - mv /po-mode.el /usr/share/gettext - -
- -
- diff --git a/chapter06/gettext-inst.xml b/chapter06/gettext-inst.xml new file mode 100644 index 000000000..aaa3bc125 --- /dev/null +++ b/chapter06/gettext-inst.xml @@ -0,0 +1,18 @@ + +Installation of Gettext + + +Install Gettext by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + mv /po-mode.el /usr/share/gettext + +
+ +
+ diff --git a/chapter06/gettext.sgml b/chapter06/gettext.sgml deleted file mode 100644 index d252e96d2..000000000 --- a/chapter06/gettext.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Gettext - -&c6-gettext-inst; -&aa-gettext-desc; - - diff --git a/chapter06/gettext.xml b/chapter06/gettext.xml new file mode 100644 index 000000000..d252e96d2 --- /dev/null +++ b/chapter06/gettext.xml @@ -0,0 +1,7 @@ + +Installing Gettext + +&c6-gettext-inst; +&aa-gettext-desc; + + diff --git a/chapter06/glibc-exp.sgml b/chapter06/glibc-exp.sgml deleted file mode 100644 index 0074fea08..000000000 --- a/chapter06/glibc-exp.sgml +++ /dev/null @@ -1,18 +0,0 @@ - -Command explanations - - -touch /etc/ld.so.conf One of the final steps of -the Glibc installation is running ldconfig to update the dynamic loader -cache. If this file isn't present Glibc will abort with an error that it -can't read the file. So we create an empty file for it (empty file will -have Glibc default to using /lib and /usr/lib which is fine right now). - - - ---enable-add-ons: This enabled the add-ons that -we install with Glibc: linuxthreads - - - - diff --git a/chapter06/glibc-exp.xml b/chapter06/glibc-exp.xml new file mode 100644 index 000000000..0074fea08 --- /dev/null +++ b/chapter06/glibc-exp.xml @@ -0,0 +1,18 @@ + +Command explanations + + +touch /etc/ld.so.conf One of the final steps of +the Glibc installation is running ldconfig to update the dynamic loader +cache. If this file isn't present Glibc will abort with an error that it +can't read the file. So we create an empty file for it (empty file will +have Glibc default to using /lib and /usr/lib which is fine right now). + + + +--enable-add-ons: This enabled the add-ons that +we install with Glibc: linuxthreads + + + + diff --git a/chapter06/glibc-inst.sgml b/chapter06/glibc-inst.sgml deleted file mode 100644 index 71db5be33..000000000 --- a/chapter06/glibc-inst.sgml +++ /dev/null @@ -1,51 +0,0 @@ - -Installation of Glibc - - -Unpack the glibc-linuxthreads in the glibc-2.2.1 directory, not in -/usr/src. Don't enter the created directories. Just unpack them and -leave it with that. - - - -Install Glibc by running the following commands: - - -
- - touch /etc/ld.so.conf && - mkdir /usr/src/glibc-build && - cd /usr/src/glibc-build && - ../glibc-2.2.1/configure \ -    --prefix=/usr --enable-add-ons - \ -    --libexecdir=/usr/bin && - - sed s/"cross-compiling = yes"/"cross-compiling = no"/ - \ -    config.make > config.make~ - && - mv config.make~ config.make && - make && - make install && - make localedata/install-locales && - cp login/pt_chown /usr/bin - -
- - -You can get rid of the "I have no name!" in the bash prompt if you want. -Do this by exiting chroot and re-entering it. Run the following -commands to do that: - - -
- - logout - chroot $LFS /usr/bin/env -i HOME=/root /bin/bash - --login - -
- -
- diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml new file mode 100644 index 000000000..71db5be33 --- /dev/null +++ b/chapter06/glibc-inst.xml @@ -0,0 +1,51 @@ + +Installation of Glibc + + +Unpack the glibc-linuxthreads in the glibc-2.2.1 directory, not in +/usr/src. Don't enter the created directories. Just unpack them and +leave it with that. + + + +Install Glibc by running the following commands: + + +
+ + touch /etc/ld.so.conf && + mkdir /usr/src/glibc-build && + cd /usr/src/glibc-build && + ../glibc-2.2.1/configure \ +    --prefix=/usr --enable-add-ons + \ +    --libexecdir=/usr/bin && + + sed s/"cross-compiling = yes"/"cross-compiling = no"/ + \ +    config.make > config.make~ + && + mv config.make~ config.make && + make && + make install && + make localedata/install-locales && + cp login/pt_chown /usr/bin + +
+ + +You can get rid of the "I have no name!" in the bash prompt if you want. +Do this by exiting chroot and re-entering it. Run the following +commands to do that: + + +
+ + logout + chroot $LFS /usr/bin/env -i HOME=/root /bin/bash + --login + +
+ +
+ diff --git a/chapter06/glibc.sgml b/chapter06/glibc.sgml deleted file mode 100644 index 151cbbb6e..000000000 --- a/chapter06/glibc.sgml +++ /dev/null @@ -1,9 +0,0 @@ - -Installing Glibc - -&c6-glibc-inst; -&c6-glibc-exp; -&aa-glibc-desc; - - - diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml new file mode 100644 index 000000000..151cbbb6e --- /dev/null +++ b/chapter06/glibc.xml @@ -0,0 +1,9 @@ + +Installing Glibc + +&c6-glibc-inst; +&c6-glibc-exp; +&aa-glibc-desc; + + + diff --git a/chapter06/grep-inst.sgml b/chapter06/grep-inst.sgml deleted file mode 100644 index d461dc799..000000000 --- a/chapter06/grep-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Grep - - -Install Grep by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml new file mode 100644 index 000000000..d461dc799 --- /dev/null +++ b/chapter06/grep-inst.xml @@ -0,0 +1,17 @@ + +Installation of Grep + + +Install Grep by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/grep.sgml b/chapter06/grep.sgml deleted file mode 100644 index 39ae0953c..000000000 --- a/chapter06/grep.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Grep - -&c6-grep-inst; -&aa-grep-desc; - - diff --git a/chapter06/grep.xml b/chapter06/grep.xml new file mode 100644 index 000000000..39ae0953c --- /dev/null +++ b/chapter06/grep.xml @@ -0,0 +1,7 @@ + +Installing Grep + +&c6-grep-inst; +&aa-grep-desc; + + diff --git a/chapter06/groff-inst.sgml b/chapter06/groff-inst.sgml deleted file mode 100644 index 62cff4745..000000000 --- a/chapter06/groff-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Groff - - -Install Groff by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml new file mode 100644 index 000000000..62cff4745 --- /dev/null +++ b/chapter06/groff-inst.xml @@ -0,0 +1,17 @@ + +Installation of Groff + + +Install Groff by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/groff.sgml b/chapter06/groff.sgml deleted file mode 100644 index e0698e28a..000000000 --- a/chapter06/groff.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Groff - -&c6-groff-inst; -&aa-groff-desc; - - - diff --git a/chapter06/groff.xml b/chapter06/groff.xml new file mode 100644 index 000000000..e0698e28a --- /dev/null +++ b/chapter06/groff.xml @@ -0,0 +1,8 @@ + +Installing Groff + +&c6-groff-inst; +&aa-groff-desc; + + + diff --git a/chapter06/gzip-inst.sgml b/chapter06/gzip-inst.sgml deleted file mode 100644 index 9eb3acdeb..000000000 --- a/chapter06/gzip-inst.sgml +++ /dev/null @@ -1,24 +0,0 @@ - -Installation of Gzip - - -Install Gzip by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - cd /usr/bin && - mv gzip /bin && - rm gunzip /bin/gunzip && - cd /bin && - ln -s gzip gunzip && - ln -s gzip compress && - ln -s gunzip uncompress - -
- -
- diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml new file mode 100644 index 000000000..9eb3acdeb --- /dev/null +++ b/chapter06/gzip-inst.xml @@ -0,0 +1,24 @@ + +Installation of Gzip + + +Install Gzip by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + cd /usr/bin && + mv gzip /bin && + rm gunzip /bin/gunzip && + cd /bin && + ln -s gzip gunzip && + ln -s gzip compress && + ln -s gunzip uncompress + +
+ +
+ diff --git a/chapter06/gzip.sgml b/chapter06/gzip.sgml deleted file mode 100644 index c61b8f567..000000000 --- a/chapter06/gzip.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Gzip - -&c6-gzip-inst; -&aa-gzip-desc; - - diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml new file mode 100644 index 000000000..c61b8f567 --- /dev/null +++ b/chapter06/gzip.xml @@ -0,0 +1,7 @@ + +Installing Gzip + +&c6-gzip-inst; +&aa-gzip-desc; + + diff --git a/chapter06/introduction.sgml b/chapter06/introduction.sgml deleted file mode 100644 index 016a6d9c1..000000000 --- a/chapter06/introduction.sgml +++ /dev/null @@ -1,14 +0,0 @@ - -Introduction - - -The installation of all the software is pretty straightforward and -you'll think it's so much easier and shorter to give the generic -installation instructions for each package and only explain how to -install something if a certain package requires an alternate installation -method. Although I agree with you on that, I, however, choose to give the -full instructions for each and every package. This is simply to avoid any -possible confusion and errors. - - - diff --git a/chapter06/introduction.xml b/chapter06/introduction.xml new file mode 100644 index 000000000..016a6d9c1 --- /dev/null +++ b/chapter06/introduction.xml @@ -0,0 +1,14 @@ + +Introduction + + +The installation of all the software is pretty straightforward and +you'll think it's so much easier and shorter to give the generic +installation instructions for each package and only explain how to +install something if a certain package requires an alternate installation +method. Although I agree with you on that, I, however, choose to give the +full instructions for each and every package. This is simply to avoid any +possible confusion and errors. + + + diff --git a/chapter06/ldso-inst.sgml b/chapter06/ldso-inst.sgml deleted file mode 100644 index d89670ab4..000000000 --- a/chapter06/ldso-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Ld.so - - -Install Ld.so by running the following commands: - - -
- - cd man && - cp ldd.1 /usr/share/man/man1 && - cp *.8 /usr/share/man/man8 - -
- -
- diff --git a/chapter06/ldso-inst.xml b/chapter06/ldso-inst.xml new file mode 100644 index 000000000..d89670ab4 --- /dev/null +++ b/chapter06/ldso-inst.xml @@ -0,0 +1,17 @@ + +Installation of Ld.so + + +Install Ld.so by running the following commands: + + +
+ + cd man && + cp ldd.1 /usr/share/man/man1 && + cp *.8 /usr/share/man/man8 + +
+ +
+ diff --git a/chapter06/ldso.sgml b/chapter06/ldso.sgml deleted file mode 100644 index 63e30514d..000000000 --- a/chapter06/ldso.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Ldso - -&c6-ldso-inst; -&aa-ldso-desc; - - diff --git a/chapter06/ldso.xml b/chapter06/ldso.xml new file mode 100644 index 000000000..63e30514d --- /dev/null +++ b/chapter06/ldso.xml @@ -0,0 +1,7 @@ + +Installing Ldso + +&c6-ldso-inst; +&aa-ldso-desc; + + diff --git a/chapter06/less-inst.sgml b/chapter06/less-inst.sgml deleted file mode 100644 index 6deacf428..000000000 --- a/chapter06/less-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Less - - -Install Less by running the following commands: - - -
- - ./configure --prefix=/usr --bindir=/bin && - make && - make install - -
- -
- diff --git a/chapter06/less-inst.xml b/chapter06/less-inst.xml new file mode 100644 index 000000000..6deacf428 --- /dev/null +++ b/chapter06/less-inst.xml @@ -0,0 +1,17 @@ + +Installation of Less + + +Install Less by running the following commands: + + +
+ + ./configure --prefix=/usr --bindir=/bin && + make && + make install + +
+ +
+ diff --git a/chapter06/less.sgml b/chapter06/less.sgml deleted file mode 100644 index a146d2532..000000000 --- a/chapter06/less.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Less - -&c6-less-inst; -&aa-less-desc; - - - diff --git a/chapter06/less.xml b/chapter06/less.xml new file mode 100644 index 000000000..a146d2532 --- /dev/null +++ b/chapter06/less.xml @@ -0,0 +1,8 @@ + +Installing Less + +&c6-less-inst; +&aa-less-desc; + + + diff --git a/chapter06/libtool-inst.sgml b/chapter06/libtool-inst.sgml deleted file mode 100644 index 1a651a38b..000000000 --- a/chapter06/libtool-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Libtool - - -Install Libtool by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml new file mode 100644 index 000000000..1a651a38b --- /dev/null +++ b/chapter06/libtool-inst.xml @@ -0,0 +1,17 @@ + +Installation of Libtool + + +Install Libtool by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/libtool.sgml b/chapter06/libtool.sgml deleted file mode 100644 index 540885383..000000000 --- a/chapter06/libtool.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Libtool - -&c6-libtool-inst; -&aa-libtool-desc; - - diff --git a/chapter06/libtool.xml b/chapter06/libtool.xml new file mode 100644 index 000000000..540885383 --- /dev/null +++ b/chapter06/libtool.xml @@ -0,0 +1,7 @@ + +Installing Libtool + +&c6-libtool-inst; +&aa-libtool-desc; + + diff --git a/chapter06/lilo-inst.sgml b/chapter06/lilo-inst.sgml deleted file mode 100644 index 7777ab547..000000000 --- a/chapter06/lilo-inst.sgml +++ /dev/null @@ -1,30 +0,0 @@ - -Installation of Lilo - - -Install Lilo by running the following commands: - - -
- - make && - make install - -
- - -It appears that compilation of this package fails on certain machines -when the -g compiler flag is being used. If you can't compile Lilo at -all, please try removing the -g value from the CFLAGS variable in the -Makefile file. - - - -At the end of the installation the make install process will print a -message stating that you have to execute /sbin/lilo to complete the -update. Don't do this as it has no use. The /etc/lilo.conf isn't present -yet. We will complete the installation of lilo in chapter 8. - - -
- diff --git a/chapter06/lilo-inst.xml b/chapter06/lilo-inst.xml new file mode 100644 index 000000000..7777ab547 --- /dev/null +++ b/chapter06/lilo-inst.xml @@ -0,0 +1,30 @@ + +Installation of Lilo + + +Install Lilo by running the following commands: + + +
+ + make && + make install + +
+ + +It appears that compilation of this package fails on certain machines +when the -g compiler flag is being used. If you can't compile Lilo at +all, please try removing the -g value from the CFLAGS variable in the +Makefile file. + + + +At the end of the installation the make install process will print a +message stating that you have to execute /sbin/lilo to complete the +update. Don't do this as it has no use. The /etc/lilo.conf isn't present +yet. We will complete the installation of lilo in chapter 8. + + +
+ diff --git a/chapter06/lilo.sgml b/chapter06/lilo.sgml deleted file mode 100644 index 456909729..000000000 --- a/chapter06/lilo.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Lilo - -&c6-lilo-inst; -&aa-lilo-desc; - - diff --git a/chapter06/lilo.xml b/chapter06/lilo.xml new file mode 100644 index 000000000..456909729 --- /dev/null +++ b/chapter06/lilo.xml @@ -0,0 +1,7 @@ + +Installing Lilo + +&c6-lilo-inst; +&aa-lilo-desc; + + diff --git a/chapter06/m4-inst.sgml b/chapter06/m4-inst.sgml deleted file mode 100644 index ef29a5d65..000000000 --- a/chapter06/m4-inst.sgml +++ /dev/null @@ -1,57 +0,0 @@ - -Installation of M4 - - -Install M4 by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- - -If you're base system is running a 2.0 kernel and your Glibc version is -2.1 then you will most likely get problems executing M4 in the -chroot'ed environment due to incompatibilities between the M4 program, -Glibc-2.1 and the running 2.0 kernel. If you have problems executing the -m4 program in the chroot'ed environment (for example when you install -the autoconf and automake packages) you'll have to exit the chroot'ed -environment and compile M4 statically. This way the binary is linked -against Glibc 2.0 (if you run kernel 2.0 you're Glibc version is 2.0 as -well on a decent system. Kernel 2.0 and Glibc-2.1 don't mix very well) -and won't give you any problems. - - - -To create a statically linked version of M4, execute the following -commands: - - -
- -logout -cd $LFS/usr/src/m4-1.4 -./configure --prefix=/usr --disable-nls -make LDFLAGS=-static -make prefix=$LFS/usr install - -
- - -Now you can re-enter the chroot'ed environment and continue with the -next package. If you wish to recompile M4 dynamically, you can do that -after you have rebooted into the LFS system rather than chroot'ed into it. - - -
- - chroot $LFS env -i HOME=/root bash --login - -
- -
- diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml new file mode 100644 index 000000000..ef29a5d65 --- /dev/null +++ b/chapter06/m4-inst.xml @@ -0,0 +1,57 @@ + +Installation of M4 + + +Install M4 by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ + +If you're base system is running a 2.0 kernel and your Glibc version is +2.1 then you will most likely get problems executing M4 in the +chroot'ed environment due to incompatibilities between the M4 program, +Glibc-2.1 and the running 2.0 kernel. If you have problems executing the +m4 program in the chroot'ed environment (for example when you install +the autoconf and automake packages) you'll have to exit the chroot'ed +environment and compile M4 statically. This way the binary is linked +against Glibc 2.0 (if you run kernel 2.0 you're Glibc version is 2.0 as +well on a decent system. Kernel 2.0 and Glibc-2.1 don't mix very well) +and won't give you any problems. + + + +To create a statically linked version of M4, execute the following +commands: + + +
+ +logout +cd $LFS/usr/src/m4-1.4 +./configure --prefix=/usr --disable-nls +make LDFLAGS=-static +make prefix=$LFS/usr install + +
+ + +Now you can re-enter the chroot'ed environment and continue with the +next package. If you wish to recompile M4 dynamically, you can do that +after you have rebooted into the LFS system rather than chroot'ed into it. + + +
+ + chroot $LFS env -i HOME=/root bash --login + +
+ +
+ diff --git a/chapter06/m4.sgml b/chapter06/m4.sgml deleted file mode 100644 index 95219ff1f..000000000 --- a/chapter06/m4.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing M4 - -&c6-m4-inst; -&aa-m4-desc; - - - diff --git a/chapter06/m4.xml b/chapter06/m4.xml new file mode 100644 index 000000000..95219ff1f --- /dev/null +++ b/chapter06/m4.xml @@ -0,0 +1,8 @@ + +Installing M4 + +&c6-m4-inst; +&aa-m4-desc; + + + diff --git a/chapter06/make-inst.sgml b/chapter06/make-inst.sgml deleted file mode 100644 index 1f7e4e3d0..000000000 --- a/chapter06/make-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Make - - -Install Make by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml new file mode 100644 index 000000000..1f7e4e3d0 --- /dev/null +++ b/chapter06/make-inst.xml @@ -0,0 +1,17 @@ + +Installation of Make + + +Install Make by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/make.sgml b/chapter06/make.sgml deleted file mode 100644 index de9d65ffe..000000000 --- a/chapter06/make.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Make - -&c6-make-inst; -&aa-make-desc; - - diff --git a/chapter06/make.xml b/chapter06/make.xml new file mode 100644 index 000000000..de9d65ffe --- /dev/null +++ b/chapter06/make.xml @@ -0,0 +1,7 @@ + +Installing Make + +&c6-make-inst; +&aa-make-desc; + + diff --git a/chapter06/makedev-exp.sgml b/chapter06/makedev-exp.sgml deleted file mode 100644 index 565b4e128..000000000 --- a/chapter06/makedev-exp.sgml +++ /dev/null @@ -1,10 +0,0 @@ - -Command explanations - - -./MAKEDEV-temp -v generic This creates the device -files. - - - - diff --git a/chapter06/makedev-exp.xml b/chapter06/makedev-exp.xml new file mode 100644 index 000000000..565b4e128 --- /dev/null +++ b/chapter06/makedev-exp.xml @@ -0,0 +1,10 @@ + +Command explanations + + +./MAKEDEV-temp -v generic This creates the device +files. + + + + diff --git a/chapter06/makedev-inst.sgml b/chapter06/makedev-inst.sgml deleted file mode 100644 index a4e4d0433..000000000 --- a/chapter06/makedev-inst.sgml +++ /dev/null @@ -1,27 +0,0 @@ - -Installation of MAKEDEV - - -Create the device files by running the following commands: - - -
- - cd /dev && - ./MAKEDEV-temp -v generic && - rm MAKEDEV-temp - -
- - -The generic parameter passed to the MAKEDEV script -doesn't create all the devices you might need, such as audio devices, -hdc, hdd and ohters. If you seem to be missing something tell MAKEDEV to -create it. To create hdc replace generic with hdc. You can also add hdc -to generic, so you would execute ./MAKEDEV -v generic -hdc to create the generic set of devices files, plus the -files you need to be able to access hdc (and hdc1, hdc2, etc) - - -
- diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml new file mode 100644 index 000000000..a4e4d0433 --- /dev/null +++ b/chapter06/makedev-inst.xml @@ -0,0 +1,27 @@ + +Installation of MAKEDEV + + +Create the device files by running the following commands: + + +
+ + cd /dev && + ./MAKEDEV-temp -v generic && + rm MAKEDEV-temp + +
+ + +The generic parameter passed to the MAKEDEV script +doesn't create all the devices you might need, such as audio devices, +hdc, hdd and ohters. If you seem to be missing something tell MAKEDEV to +create it. To create hdc replace generic with hdc. You can also add hdc +to generic, so you would execute ./MAKEDEV -v generic +hdc to create the generic set of devices files, plus the +files you need to be able to access hdc (and hdc1, hdc2, etc) + + +
+ diff --git a/chapter06/makedev.sgml b/chapter06/makedev.sgml deleted file mode 100644 index 2c937dd3e..000000000 --- a/chapter06/makedev.sgml +++ /dev/null @@ -1,9 +0,0 @@ - -Installing Makedev - -&c6-makedev-inst; -&c6-makedev-exp; -&aa-makedev-desc; - - - diff --git a/chapter06/makedev.xml b/chapter06/makedev.xml new file mode 100644 index 000000000..2c937dd3e --- /dev/null +++ b/chapter06/makedev.xml @@ -0,0 +1,9 @@ + +Installing Makedev + +&c6-makedev-inst; +&c6-makedev-exp; +&aa-makedev-desc; + + + diff --git a/chapter06/man-exp.sgml b/chapter06/man-exp.sgml deleted file mode 100644 index 396c47b6d..000000000 --- a/chapter06/man-exp.sgml +++ /dev/null @@ -1,21 +0,0 @@ - -Command explanations - - --default: This configures the man package with -default settings. - - - -sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis > -makewhatis-new: This modifies /usr/sbin/makewhatis's AWK -variable and fills in the location of the mawk program. - - - -chmod 755 /usr/sbin/makewhatis: This makes the -makewhatis script executable again. - - - - diff --git a/chapter06/man-exp.xml b/chapter06/man-exp.xml new file mode 100644 index 000000000..396c47b6d --- /dev/null +++ b/chapter06/man-exp.xml @@ -0,0 +1,21 @@ + +Command explanations + + +-default: This configures the man package with +default settings. + + + +sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis > +makewhatis-new: This modifies /usr/sbin/makewhatis's AWK +variable and fills in the location of the mawk program. + + + +chmod 755 /usr/sbin/makewhatis: This makes the +makewhatis script executable again. + + + + diff --git a/chapter06/man-inst.sgml b/chapter06/man-inst.sgml deleted file mode 100644 index f2f3b3b63..000000000 --- a/chapter06/man-inst.sgml +++ /dev/null @@ -1,22 +0,0 @@ - -Installation of Man - - -Install Man by running the following commands: - - -
- - ./configure -default && - make && - make install && - sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis - > makewhatis-new && - mv makewhatis-new /usr/sbin/makewhatis && - - chmod 755 /usr/sbin/makewhatis - -
- -
- diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml new file mode 100644 index 000000000..f2f3b3b63 --- /dev/null +++ b/chapter06/man-inst.xml @@ -0,0 +1,22 @@ + +Installation of Man + + +Install Man by running the following commands: + + +
+ + ./configure -default && + make && + make install && + sed s/AWK=/"AWK=\/usr\/bin\/mawk"/ /usr/sbin/makewhatis + > makewhatis-new && + mv makewhatis-new /usr/sbin/makewhatis && + + chmod 755 /usr/sbin/makewhatis + +
+ +
+ diff --git a/chapter06/man.sgml b/chapter06/man.sgml deleted file mode 100644 index 9e40131ee..000000000 --- a/chapter06/man.sgml +++ /dev/null @@ -1,9 +0,0 @@ - -Installing Man - -&c6-man-inst; -&c6-man-exp; -&aa-man-desc; - - - diff --git a/chapter06/man.xml b/chapter06/man.xml new file mode 100644 index 000000000..9e40131ee --- /dev/null +++ b/chapter06/man.xml @@ -0,0 +1,9 @@ + +Installing Man + +&c6-man-inst; +&c6-man-exp; +&aa-man-desc; + + + diff --git a/chapter06/manpages-inst.sgml b/chapter06/manpages-inst.sgml deleted file mode 100644 index 9a03eb9d1..000000000 --- a/chapter06/manpages-inst.sgml +++ /dev/null @@ -1,15 +0,0 @@ - -Installation of Man-pages - - -Install Man-pages by running the following commands: - - -
- - make install - -
- -
- diff --git a/chapter06/manpages-inst.xml b/chapter06/manpages-inst.xml new file mode 100644 index 000000000..9a03eb9d1 --- /dev/null +++ b/chapter06/manpages-inst.xml @@ -0,0 +1,15 @@ + +Installation of Man-pages + + +Install Man-pages by running the following commands: + + +
+ + make install + +
+ +
+ diff --git a/chapter06/manpages.sgml b/chapter06/manpages.sgml deleted file mode 100644 index 82063262c..000000000 --- a/chapter06/manpages.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Man-pages - -&c6-manpages-inst; -&aa-manpages-desc; - - diff --git a/chapter06/manpages.xml b/chapter06/manpages.xml new file mode 100644 index 000000000..82063262c --- /dev/null +++ b/chapter06/manpages.xml @@ -0,0 +1,7 @@ + +Installing Man-pages + +&c6-manpages-inst; +&aa-manpages-desc; + + diff --git a/chapter06/mawk-inst.sgml b/chapter06/mawk-inst.sgml deleted file mode 100644 index 735294010..000000000 --- a/chapter06/mawk-inst.sgml +++ /dev/null @@ -1,21 +0,0 @@ - -Installation of Mawk - - -Install Mawk by running the following commands: - - -
- - ./configure && - make && - make BINDIR=/usr/bin \ -    MANDIR=/usr/share/man/man1 install - && - cd /usr/bin && - ln -s mawk awk - -
- -
- diff --git a/chapter06/mawk-inst.xml b/chapter06/mawk-inst.xml new file mode 100644 index 000000000..735294010 --- /dev/null +++ b/chapter06/mawk-inst.xml @@ -0,0 +1,21 @@ + +Installation of Mawk + + +Install Mawk by running the following commands: + + +
+ + ./configure && + make && + make BINDIR=/usr/bin \ +    MANDIR=/usr/share/man/man1 install + && + cd /usr/bin && + ln -s mawk awk + +
+ +
+ diff --git a/chapter06/mawk.sgml b/chapter06/mawk.sgml deleted file mode 100644 index 895d42c9c..000000000 --- a/chapter06/mawk.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Mawk - -&c6-mawk-inst; -&aa-mawk-desc; - - - diff --git a/chapter06/mawk.xml b/chapter06/mawk.xml new file mode 100644 index 000000000..895d42c9c --- /dev/null +++ b/chapter06/mawk.xml @@ -0,0 +1,8 @@ + +Installing Mawk + +&c6-mawk-inst; +&aa-mawk-desc; + + + diff --git a/chapter06/modutils-inst.sgml b/chapter06/modutils-inst.sgml deleted file mode 100644 index d682fd2ab..000000000 --- a/chapter06/modutils-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Modutils - - -Install Modutils by running the following commands: - - -
- - ./configure && - make && - make install - -
- -
- diff --git a/chapter06/modutils-inst.xml b/chapter06/modutils-inst.xml new file mode 100644 index 000000000..d682fd2ab --- /dev/null +++ b/chapter06/modutils-inst.xml @@ -0,0 +1,17 @@ + +Installation of Modutils + + +Install Modutils by running the following commands: + + +
+ + ./configure && + make && + make install + +
+ +
+ diff --git a/chapter06/modutils.sgml b/chapter06/modutils.sgml deleted file mode 100644 index e9dd039c3..000000000 --- a/chapter06/modutils.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Modutils - -&c6-modutils-inst; -&aa-modutils-desc; - - diff --git a/chapter06/modutils.xml b/chapter06/modutils.xml new file mode 100644 index 000000000..e9dd039c3 --- /dev/null +++ b/chapter06/modutils.xml @@ -0,0 +1,7 @@ + +Installing Modutils + +&c6-modutils-inst; +&aa-modutils-desc; + + diff --git a/chapter06/ncurses-exp.sgml b/chapter06/ncurses-exp.sgml deleted file mode 100644 index c9dc1c85a..000000000 --- a/chapter06/ncurses-exp.sgml +++ /dev/null @@ -1,21 +0,0 @@ - -Command explanations - - ---with-shared: This enables the build of the -shared ncurses library files. - - - ---disable-termcap: Disabled the compilation of -termcap fallback support. - - - -ln -s libncurses.a libcurses.a: This creates the -/lib/libcurses.a symlink that for some reason isn't created during the -libncurses installation. - - - - diff --git a/chapter06/ncurses-exp.xml b/chapter06/ncurses-exp.xml new file mode 100644 index 000000000..c9dc1c85a --- /dev/null +++ b/chapter06/ncurses-exp.xml @@ -0,0 +1,21 @@ + +Command explanations + + +--with-shared: This enables the build of the +shared ncurses library files. + + + +--disable-termcap: Disabled the compilation of +termcap fallback support. + + + +ln -s libncurses.a libcurses.a: This creates the +/lib/libcurses.a symlink that for some reason isn't created during the +libncurses installation. + + + + diff --git a/chapter06/ncurses-inst.sgml b/chapter06/ncurses-inst.sgml deleted file mode 100644 index 4dd204e30..000000000 --- a/chapter06/ncurses-inst.sgml +++ /dev/null @@ -1,21 +0,0 @@ - -Installation of Ncurses - - -Install Ncurses by running the following commands: - - -
- - ./configure --prefix=/usr --libdir=/lib \ -    --with-shared - --disable-termcap && - make && - make install && - cd /lib && - ln -s libncurses.a libcurses.a - -
- -
- diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml new file mode 100644 index 000000000..4dd204e30 --- /dev/null +++ b/chapter06/ncurses-inst.xml @@ -0,0 +1,21 @@ + +Installation of Ncurses + + +Install Ncurses by running the following commands: + + +
+ + ./configure --prefix=/usr --libdir=/lib \ +    --with-shared + --disable-termcap && + make && + make install && + cd /lib && + ln -s libncurses.a libcurses.a + +
+ +
+ diff --git a/chapter06/ncurses.sgml b/chapter06/ncurses.sgml deleted file mode 100644 index ca97c1723..000000000 --- a/chapter06/ncurses.sgml +++ /dev/null @@ -1,9 +0,0 @@ - -Installing Ncurses - -&c6-ncurses-inst; -&c6-ncurses-exp; -&aa-ncurses-desc; - - - diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml new file mode 100644 index 000000000..ca97c1723 --- /dev/null +++ b/chapter06/ncurses.xml @@ -0,0 +1,9 @@ + +Installing Ncurses + +&c6-ncurses-inst; +&c6-ncurses-exp; +&aa-ncurses-desc; + + + diff --git a/chapter06/netkitbase.xml b/chapter06/netkitbase.xml new file mode 100644 index 000000000..ef5f80955 --- /dev/null +++ b/chapter06/netkitbase.xml @@ -0,0 +1,25 @@ + +Installing Netkit-base + + +Install Netkit-base by running the following commands: + + +
+ + ./configure && + make && + make install && + cd etc.sample && + cp services protocols /etc + +
+ + +There are other files in the etc.sample directory which might be of +interest to you. + + +
+ diff --git a/chapter06/nettools.xml b/chapter06/nettools.xml new file mode 100644 index 000000000..98ff41899 --- /dev/null +++ b/chapter06/nettools.xml @@ -0,0 +1,21 @@ + +Installing Net-tools + + +Edit the Makefile file and edit the CFLAGS variable +if you want to add compiler optimzations. + + + +Install Net-tools by running the following commands: + + +
+ + make && + make install + +
+ +
+ diff --git a/chapter06/patch-inst.sgml b/chapter06/patch-inst.sgml deleted file mode 100644 index a63f77030..000000000 --- a/chapter06/patch-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Patch - - -Install Patch by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml new file mode 100644 index 000000000..a63f77030 --- /dev/null +++ b/chapter06/patch-inst.xml @@ -0,0 +1,17 @@ + +Installation of Patch + + +Install Patch by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/patch.sgml b/chapter06/patch.sgml deleted file mode 100644 index 38a4cbf7f..000000000 --- a/chapter06/patch.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Patch - -&c6-patch-inst; -&aa-patch-desc; - - - diff --git a/chapter06/patch.xml b/chapter06/patch.xml new file mode 100644 index 000000000..38a4cbf7f --- /dev/null +++ b/chapter06/patch.xml @@ -0,0 +1,8 @@ + +Installing Patch + +&c6-patch-inst; +&aa-patch-desc; + + + diff --git a/chapter06/perl-inst.sgml b/chapter06/perl-inst.sgml deleted file mode 100644 index ba8df4e61..000000000 --- a/chapter06/perl-inst.sgml +++ /dev/null @@ -1,33 +0,0 @@ - -Installation of Perl - - -Install Perl by running the following commands: - - -
- - ./Configure -Dprefix=/usr && - make && - make install - -
- - -If you don't want to answer all those questions Perl asks you, you can -add the -d option to the configure script and Perl will use all the -default settings. To avoid the Configure script asking you questions -after the config.sh file has been created you can pass the -e parameter -to perl as well. The commands with these parameters included will be: - - -
- - ./Configure -Dprefix=/usr -d -e && - make && - make install - -
- -
- diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml new file mode 100644 index 000000000..ba8df4e61 --- /dev/null +++ b/chapter06/perl-inst.xml @@ -0,0 +1,33 @@ + +Installation of Perl + + +Install Perl by running the following commands: + + +
+ + ./Configure -Dprefix=/usr && + make && + make install + +
+ + +If you don't want to answer all those questions Perl asks you, you can +add the -d option to the configure script and Perl will use all the +default settings. To avoid the Configure script asking you questions +after the config.sh file has been created you can pass the -e parameter +to perl as well. The commands with these parameters included will be: + + +
+ + ./Configure -Dprefix=/usr -d -e && + make && + make install + +
+ +
+ diff --git a/chapter06/perl.sgml b/chapter06/perl.sgml deleted file mode 100644 index a7d0c6265..000000000 --- a/chapter06/perl.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Perl - -&c6-perl-inst; -&aa-perl-desc; - - - diff --git a/chapter06/perl.xml b/chapter06/perl.xml new file mode 100644 index 000000000..a7d0c6265 --- /dev/null +++ b/chapter06/perl.xml @@ -0,0 +1,8 @@ + +Installing Perl + +&c6-perl-inst; +&aa-perl-desc; + + + diff --git a/chapter06/procinfo-exp.sgml b/chapter06/procinfo-exp.sgml deleted file mode 100644 index 0b0684ff7..000000000 --- a/chapter06/procinfo-exp.sgml +++ /dev/null @@ -1,14 +0,0 @@ - -Command explanations - - -sed "s/-ltermcap/-lncurses/" Makefile | make -f -: -This will replace -ltermcap with -lncurses in the Makefile and pipe the -output of sed (the modified Makefile) directly to the make program. This -is an alternate and more efficient way to direct the output to a file -and tell make to use that alternate file. We do this because libtermcap -is declared obsolete in favour of libncurses. - - - - diff --git a/chapter06/procinfo-exp.xml b/chapter06/procinfo-exp.xml new file mode 100644 index 000000000..0b0684ff7 --- /dev/null +++ b/chapter06/procinfo-exp.xml @@ -0,0 +1,14 @@ + +Command explanations + + +sed "s/-ltermcap/-lncurses/" Makefile | make -f -: +This will replace -ltermcap with -lncurses in the Makefile and pipe the +output of sed (the modified Makefile) directly to the make program. This +is an alternate and more efficient way to direct the output to a file +and tell make to use that alternate file. We do this because libtermcap +is declared obsolete in favour of libncurses. + + + + diff --git a/chapter06/procinfo-inst.sgml b/chapter06/procinfo-inst.sgml deleted file mode 100644 index e491563e8..000000000 --- a/chapter06/procinfo-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Procinfo - - -Install Procinfo by running the following commands: - - -
- - sed "s/-ltermcap/-lncurses/" Makefile | make -f - - && - make install - -
- -
- diff --git a/chapter06/procinfo-inst.xml b/chapter06/procinfo-inst.xml new file mode 100644 index 000000000..e491563e8 --- /dev/null +++ b/chapter06/procinfo-inst.xml @@ -0,0 +1,17 @@ + +Installation of Procinfo + + +Install Procinfo by running the following commands: + + +
+ + sed "s/-ltermcap/-lncurses/" Makefile | make -f - + && + make install + +
+ +
+ diff --git a/chapter06/procinfo.sgml b/chapter06/procinfo.sgml deleted file mode 100644 index 66ac49f05..000000000 --- a/chapter06/procinfo.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Procinfo - -&c6-procinfo-inst; -&c6-procinfo-exp; -&aa-procinfo-desc; - - diff --git a/chapter06/procinfo.xml b/chapter06/procinfo.xml new file mode 100644 index 000000000..66ac49f05 --- /dev/null +++ b/chapter06/procinfo.xml @@ -0,0 +1,8 @@ + +Installing Procinfo + +&c6-procinfo-inst; +&c6-procinfo-exp; +&aa-procinfo-desc; + + diff --git a/chapter06/procps-exp.sgml b/chapter06/procps-exp.sgml deleted file mode 100644 index f08fe8383..000000000 --- a/chapter06/procps-exp.sgml +++ /dev/null @@ -1,14 +0,0 @@ - -Command explanations - - -sed "s/XConsole/#XConsole/" Makefile | make -f -: -This will comment out the XConsole variable in the Makefile and pipe the -output of sed (the modified Makefile) directly to the make program. This -is an alternate and more efficient way to direct the output to a file -and tell make to use that alternate file. The XConsole build is disabled -because it can't be build yet because we don't have X installed yet. - - - - diff --git a/chapter06/procps-exp.xml b/chapter06/procps-exp.xml new file mode 100644 index 000000000..f08fe8383 --- /dev/null +++ b/chapter06/procps-exp.xml @@ -0,0 +1,14 @@ + +Command explanations + + +sed "s/XConsole/#XConsole/" Makefile | make -f -: +This will comment out the XConsole variable in the Makefile and pipe the +output of sed (the modified Makefile) directly to the make program. This +is an alternate and more efficient way to direct the output to a file +and tell make to use that alternate file. The XConsole build is disabled +because it can't be build yet because we don't have X installed yet. + + + + diff --git a/chapter06/procps-inst.sgml b/chapter06/procps-inst.sgml deleted file mode 100644 index 917def8c5..000000000 --- a/chapter06/procps-inst.sgml +++ /dev/null @@ -1,19 +0,0 @@ - -Installation of Procps - - -Install Procps by running the following commands: - - -
- - sed "s/XConsole/#XConsole/" Makefile | make -f - - && - sed "s/XConsole/#XConsole/" Makefile | make -f - install - && - mv /usr/bin/kill /bin - -
- -
- diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml new file mode 100644 index 000000000..917def8c5 --- /dev/null +++ b/chapter06/procps-inst.xml @@ -0,0 +1,19 @@ + +Installation of Procps + + +Install Procps by running the following commands: + + +
+ + sed "s/XConsole/#XConsole/" Makefile | make -f - + && + sed "s/XConsole/#XConsole/" Makefile | make -f - install + && + mv /usr/bin/kill /bin + +
+ +
+ diff --git a/chapter06/procps.sgml b/chapter06/procps.sgml deleted file mode 100644 index 8ca0fa0ad..000000000 --- a/chapter06/procps.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Procps - -&c6-procps-inst; -&c6-procps-exp; -&aa-procps-desc; - - diff --git a/chapter06/procps.xml b/chapter06/procps.xml new file mode 100644 index 000000000..8ca0fa0ad --- /dev/null +++ b/chapter06/procps.xml @@ -0,0 +1,8 @@ + +Installing Procps + +&c6-procps-inst; +&c6-procps-exp; +&aa-procps-desc; + + diff --git a/chapter06/psmisc-inst.sgml b/chapter06/psmisc-inst.sgml deleted file mode 100644 index bb827be7f..000000000 --- a/chapter06/psmisc-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Psmisc - - -Install Psmisc by running the following commands: - - -
- - sed "s/-ltermcap/-lncurses/" Makefile | make -f - - && - make install - -
- -
- diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml new file mode 100644 index 000000000..bb827be7f --- /dev/null +++ b/chapter06/psmisc-inst.xml @@ -0,0 +1,17 @@ + +Installation of Psmisc + + +Install Psmisc by running the following commands: + + +
+ + sed "s/-ltermcap/-lncurses/" Makefile | make -f - + && + make install + +
+ +
+ diff --git a/chapter06/psmisc.sgml b/chapter06/psmisc.sgml deleted file mode 100644 index 1b68c4fa0..000000000 --- a/chapter06/psmisc.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Psmisc - -&c6-psmisc-inst; -&aa-psmisc-desc; - - diff --git a/chapter06/psmisc.xml b/chapter06/psmisc.xml new file mode 100644 index 000000000..1b68c4fa0 --- /dev/null +++ b/chapter06/psmisc.xml @@ -0,0 +1,7 @@ + +Installing Psmisc + +&c6-psmisc-inst; +&aa-psmisc-desc; + + diff --git a/chapter06/removeoldnss.sgml b/chapter06/removeoldnss.sgml deleted file mode 100644 index 2a78aa25d..000000000 --- a/chapter06/removeoldnss.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Removing old NSS library files - - -If you have copied the NSS Library files from your normal Linux system to the -LFS system (because your normal system runs glibc-2.0) it's time to remove -them now by running: - - -
- - rm /lib/libnss*.so.1 /lib/libnss*2.0* - -
- -
- diff --git a/chapter06/removeoldnss.xml b/chapter06/removeoldnss.xml new file mode 100644 index 000000000..2a78aa25d --- /dev/null +++ b/chapter06/removeoldnss.xml @@ -0,0 +1,17 @@ + +Removing old NSS library files + + +If you have copied the NSS Library files from your normal Linux system to the +LFS system (because your normal system runs glibc-2.0) it's time to remove +them now by running: + + +
+ + rm /lib/libnss*.so.1 /lib/libnss*2.0* + +
+ +
+ diff --git a/chapter06/sed-inst.sgml b/chapter06/sed-inst.sgml deleted file mode 100644 index ef0146123..000000000 --- a/chapter06/sed-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Sed - - -Install Sed by running the following commands: - - -
- - ./configure --prefix=/usr --bindir=/bin && - make && - make install - -
- -
- diff --git a/chapter06/sed-inst.xml b/chapter06/sed-inst.xml new file mode 100644 index 000000000..ef0146123 --- /dev/null +++ b/chapter06/sed-inst.xml @@ -0,0 +1,17 @@ + +Installation of Sed + + +Install Sed by running the following commands: + + +
+ + ./configure --prefix=/usr --bindir=/bin && + make && + make install + +
+ +
+ diff --git a/chapter06/sed.sgml b/chapter06/sed.sgml deleted file mode 100644 index 44383fea4..000000000 --- a/chapter06/sed.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Sed - -&c6-sed-inst; -&aa-sed-desc; - - diff --git a/chapter06/sed.xml b/chapter06/sed.xml new file mode 100644 index 000000000..44383fea4 --- /dev/null +++ b/chapter06/sed.xml @@ -0,0 +1,7 @@ + +Installing Sed + +&c6-sed-inst; +&aa-sed-desc; + + diff --git a/chapter06/shadowpwd-exp.sgml b/chapter06/shadowpwd-exp.sgml deleted file mode 100644 index 6db3fe8d4..000000000 --- a/chapter06/shadowpwd-exp.sgml +++ /dev/null @@ -1,12 +0,0 @@ - -Command explanations - - -cp limits login.access and others: These files -were not installed during the installation of the package so we copy -them manually as those files are used to configure authentication -details on your system. - - - - diff --git a/chapter06/shadowpwd-exp.xml b/chapter06/shadowpwd-exp.xml new file mode 100644 index 000000000..6db3fe8d4 --- /dev/null +++ b/chapter06/shadowpwd-exp.xml @@ -0,0 +1,12 @@ + +Command explanations + + +cp limits login.access and others: These files +were not installed during the installation of the package so we copy +them manually as those files are used to configure authentication +details on your system. + + + + diff --git a/chapter06/shadowpwd-inst.sgml b/chapter06/shadowpwd-inst.sgml deleted file mode 100644 index 60650a5dd..000000000 --- a/chapter06/shadowpwd-inst.sgml +++ /dev/null @@ -1,22 +0,0 @@ - -Installation of Shadow Password Suite - - -Install the Shadow Password Suite by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - cd etc && - cp limits login.access \ -    login.defs.linux shells suauth - /etc && - mv /etc/login.defs.linux /etc/login.defs - -
- -
- diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml new file mode 100644 index 000000000..60650a5dd --- /dev/null +++ b/chapter06/shadowpwd-inst.xml @@ -0,0 +1,22 @@ + +Installation of Shadow Password Suite + + +Install the Shadow Password Suite by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + cd etc && + cp limits login.access \ +    login.defs.linux shells suauth + /etc && + mv /etc/login.defs.linux /etc/login.defs + +
+ +
+ diff --git a/chapter06/shadowpwd.sgml b/chapter06/shadowpwd.sgml deleted file mode 100644 index b946ec399..000000000 --- a/chapter06/shadowpwd.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Shadowpwd - -&c6-shadowpwd-inst; -&c6-shadowpwd-exp; -&aa-shadowpwd-desc; - - diff --git a/chapter06/shadowpwd.xml b/chapter06/shadowpwd.xml new file mode 100644 index 000000000..b946ec399 --- /dev/null +++ b/chapter06/shadowpwd.xml @@ -0,0 +1,8 @@ + +Installing Shadowpwd + +&c6-shadowpwd-inst; +&c6-shadowpwd-exp; +&aa-shadowpwd-desc; + + diff --git a/chapter06/shellutils-inst.sgml b/chapter06/shellutils-inst.sgml deleted file mode 100644 index c3aa812f6..000000000 --- a/chapter06/shellutils-inst.sgml +++ /dev/null @@ -1,20 +0,0 @@ - -Installation of Sh-utils - - -Install Shellutils by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - cd /usr/bin && - mv date echo false pwd stty /bin && - mv su true uname hostname /bin - -
- -
- diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml new file mode 100644 index 000000000..c3aa812f6 --- /dev/null +++ b/chapter06/shellutils-inst.xml @@ -0,0 +1,20 @@ + +Installation of Sh-utils + + +Install Shellutils by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + cd /usr/bin && + mv date echo false pwd stty /bin && + mv su true uname hostname /bin + +
+ +
+ diff --git a/chapter06/shellutils.sgml b/chapter06/shellutils.sgml deleted file mode 100644 index 7464ceee2..000000000 --- a/chapter06/shellutils.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Shellutils - -&c6-shellutils-inst; -&aa-shellutils-desc; - - diff --git a/chapter06/shellutils.xml b/chapter06/shellutils.xml new file mode 100644 index 000000000..7464ceee2 --- /dev/null +++ b/chapter06/shellutils.xml @@ -0,0 +1,7 @@ + +Installing Shellutils + +&c6-shellutils-inst; +&aa-shellutils-desc; + + diff --git a/chapter06/sysklogd-inst.sgml b/chapter06/sysklogd-inst.sgml deleted file mode 100644 index 8cab2809b..000000000 --- a/chapter06/sysklogd-inst.sgml +++ /dev/null @@ -1,18 +0,0 @@ - -Installation of Sysklogd - - -Install Sysklogd by running the following commands: - - -
- - patch -Np1 -i ../sysklogd-1.4.patch - && - make && - make install - -
- -
- diff --git a/chapter06/sysklogd-inst.xml b/chapter06/sysklogd-inst.xml new file mode 100644 index 000000000..8cab2809b --- /dev/null +++ b/chapter06/sysklogd-inst.xml @@ -0,0 +1,18 @@ + +Installation of Sysklogd + + +Install Sysklogd by running the following commands: + + +
+ + patch -Np1 -i ../sysklogd-1.4.patch + && + make && + make install + +
+ +
+ diff --git a/chapter06/sysklogd.sgml b/chapter06/sysklogd.sgml deleted file mode 100644 index c60b1e6e4..000000000 --- a/chapter06/sysklogd.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Sysklogd - -&c6-sysklogd-inst; -&aa-sysklogd-desc; - - diff --git a/chapter06/sysklogd.xml b/chapter06/sysklogd.xml new file mode 100644 index 000000000..c60b1e6e4 --- /dev/null +++ b/chapter06/sysklogd.xml @@ -0,0 +1,7 @@ + +Installing Sysklogd + +&c6-sysklogd-inst; +&aa-sysklogd-desc; + + diff --git a/chapter06/sysvinit-inst.sgml b/chapter06/sysvinit-inst.sgml deleted file mode 100644 index c8c581e95..000000000 --- a/chapter06/sysvinit-inst.sgml +++ /dev/null @@ -1,37 +0,0 @@ - -Installation of Sysvinit - - -When you change run levels (for example when you are going to shutdown -your system) the init program is going to send the TERM and KILL signals -to all the processes that init started. But init prints a message to the -screen saying "sending all processes the TERM signal" and the same for the -KILL signal. This implies that init sends this signal to all the currently -running processes, which isn't the case. To avoid this confusion you can -apply the sysvinit patch found on the LFS FTP site to sysvinit that changes -the sentence in the shutdown.c file and have it print "sending all -processes started by init the TERM signal". - - - -Apply the patch by running the following command: - - -
- patch -Np1 -i ../sysvinit-2.78.patch -
- - -Install Sysvinit by running the following commands: - - -
- - cd src && - make && - make install - -
- -
- diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml new file mode 100644 index 000000000..c8c581e95 --- /dev/null +++ b/chapter06/sysvinit-inst.xml @@ -0,0 +1,37 @@ + +Installation of Sysvinit + + +When you change run levels (for example when you are going to shutdown +your system) the init program is going to send the TERM and KILL signals +to all the processes that init started. But init prints a message to the +screen saying "sending all processes the TERM signal" and the same for the +KILL signal. This implies that init sends this signal to all the currently +running processes, which isn't the case. To avoid this confusion you can +apply the sysvinit patch found on the LFS FTP site to sysvinit that changes +the sentence in the shutdown.c file and have it print "sending all +processes started by init the TERM signal". + + + +Apply the patch by running the following command: + + +
+ patch -Np1 -i ../sysvinit-2.78.patch +
+ + +Install Sysvinit by running the following commands: + + +
+ + cd src && + make && + make install + +
+ +
+ diff --git a/chapter06/sysvinit.sgml b/chapter06/sysvinit.sgml deleted file mode 100644 index 0ecdcc851..000000000 --- a/chapter06/sysvinit.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Sysvinit - -&c6-sysvinit-inst; -&aa-sysvinit-desc; - - diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml new file mode 100644 index 000000000..0ecdcc851 --- /dev/null +++ b/chapter06/sysvinit.xml @@ -0,0 +1,7 @@ + +Installing Sysvinit + +&c6-sysvinit-inst; +&aa-sysvinit-desc; + + diff --git a/chapter06/tar-inst.sgml b/chapter06/tar-inst.sgml deleted file mode 100644 index 32ed15cd1..000000000 --- a/chapter06/tar-inst.sgml +++ /dev/null @@ -1,39 +0,0 @@ - -Installation of Tar - - -If you want to be able to directly use bzip2 files with tar, use the tar -patch avaiable from the LFS FTP site. This patch will add the -y option -to tar which works the same as the -z option to tar (which you can use -for gzip files). - - - -Apply the patch by running the following command: - - -
- - cd src && - patch -i ../../gnutarpatch.txt && - cd .. - -
- - -Install Tar by running the following commands from the toplevel -directory: - - -
- - ./configure --prefix=/usr --libexecdir=/usr/bin - && - make && - make install && - mv /usr/bin/tar /bin - -
- -
- diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml new file mode 100644 index 000000000..32ed15cd1 --- /dev/null +++ b/chapter06/tar-inst.xml @@ -0,0 +1,39 @@ + +Installation of Tar + + +If you want to be able to directly use bzip2 files with tar, use the tar +patch avaiable from the LFS FTP site. This patch will add the -y option +to tar which works the same as the -z option to tar (which you can use +for gzip files). + + + +Apply the patch by running the following command: + + +
+ + cd src && + patch -i ../../gnutarpatch.txt && + cd .. + +
+ + +Install Tar by running the following commands from the toplevel +directory: + + +
+ + ./configure --prefix=/usr --libexecdir=/usr/bin + && + make && + make install && + mv /usr/bin/tar /bin + +
+ +
+ diff --git a/chapter06/tar.sgml b/chapter06/tar.sgml deleted file mode 100644 index ad14c469a..000000000 --- a/chapter06/tar.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Tar - -&c6-tar-inst; -&aa-tar-desc; - - diff --git a/chapter06/tar.xml b/chapter06/tar.xml new file mode 100644 index 000000000..ad14c469a --- /dev/null +++ b/chapter06/tar.xml @@ -0,0 +1,7 @@ + +Installing Tar + +&c6-tar-inst; +&aa-tar-desc; + + diff --git a/chapter06/texinfo-inst.sgml b/chapter06/texinfo-inst.sgml deleted file mode 100644 index 540f438a5..000000000 --- a/chapter06/texinfo-inst.sgml +++ /dev/null @@ -1,17 +0,0 @@ - -Installation of Texinfo - - -Install Texinfo by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install - -
- -
- diff --git a/chapter06/texinfo-inst.xml b/chapter06/texinfo-inst.xml new file mode 100644 index 000000000..540f438a5 --- /dev/null +++ b/chapter06/texinfo-inst.xml @@ -0,0 +1,17 @@ + +Installation of Texinfo + + +Install Texinfo by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install + +
+ +
+ diff --git a/chapter06/texinfo.sgml b/chapter06/texinfo.sgml deleted file mode 100644 index f85b3af2b..000000000 --- a/chapter06/texinfo.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Texinfo - -&c6-texinfo-inst; -&aa-texinfo-desc; - - diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml new file mode 100644 index 000000000..f85b3af2b --- /dev/null +++ b/chapter06/texinfo.xml @@ -0,0 +1,7 @@ + +Installing Texinfo + +&c6-texinfo-inst; +&aa-texinfo-desc; + + diff --git a/chapter06/textutils-inst.sgml b/chapter06/textutils-inst.sgml deleted file mode 100644 index 5ab867a01..000000000 --- a/chapter06/textutils-inst.sgml +++ /dev/null @@ -1,18 +0,0 @@ - -Installation of Textutils - - -Install Textutuils by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - mv /usr/bin/cat /bin - -
- -
- diff --git a/chapter06/textutils-inst.xml b/chapter06/textutils-inst.xml new file mode 100644 index 000000000..5ab867a01 --- /dev/null +++ b/chapter06/textutils-inst.xml @@ -0,0 +1,18 @@ + +Installation of Textutils + + +Install Textutuils by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + mv /usr/bin/cat /bin + +
+ +
+ diff --git a/chapter06/textutils.sgml b/chapter06/textutils.sgml deleted file mode 100644 index f376ae310..000000000 --- a/chapter06/textutils.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Textutils - -&c6-textutils-inst; -&aa-textutils-desc; - - diff --git a/chapter06/textutils.xml b/chapter06/textutils.xml new file mode 100644 index 000000000..f376ae310 --- /dev/null +++ b/chapter06/textutils.xml @@ -0,0 +1,7 @@ + +Installing Textutils + +&c6-textutils-inst; +&aa-textutils-desc; + + diff --git a/chapter06/utillinux-exp.sgml b/chapter06/utillinux-exp.sgml deleted file mode 100644 index 98633466e..000000000 --- a/chapter06/utillinux-exp.sgml +++ /dev/null @@ -1,14 +0,0 @@ - -Command explanations - - -HAVE_SLN=yes: We don't build this program because -it already was installed by Glibc. - - -HAVE_TSORT=yes: We don't build this program -either becuase it already was installed by Textutils. - - - - diff --git a/chapter06/utillinux-exp.xml b/chapter06/utillinux-exp.xml new file mode 100644 index 000000000..98633466e --- /dev/null +++ b/chapter06/utillinux-exp.xml @@ -0,0 +1,14 @@ + +Command explanations + + +HAVE_SLN=yes: We don't build this program because +it already was installed by Glibc. + + +HAVE_TSORT=yes: We don't build this program +either becuase it already was installed by Textutils. + + + + diff --git a/chapter06/utillinux-inst.sgml b/chapter06/utillinux-inst.sgml deleted file mode 100644 index d75e3387f..000000000 --- a/chapter06/utillinux-inst.sgml +++ /dev/null @@ -1,23 +0,0 @@ - -Installation of Util-Linux - - -Install Util-Linux by running the following commands: - - -
- - sed -e s/HAVE_SLN=no/HAVE_SLN=yes/ \ -    -e s/HAVE_TSORT=no/HAVE_TSORT=yes/ - \ -    MCONFIG > MCONFIG~ - && - mv MCONFIG~ MCONFIG && - ./configure && - make && - make install - -
- -
- diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml new file mode 100644 index 000000000..d75e3387f --- /dev/null +++ b/chapter06/utillinux-inst.xml @@ -0,0 +1,23 @@ + +Installation of Util-Linux + + +Install Util-Linux by running the following commands: + + +
+ + sed -e s/HAVE_SLN=no/HAVE_SLN=yes/ \ +    -e s/HAVE_TSORT=no/HAVE_TSORT=yes/ + \ +    MCONFIG > MCONFIG~ + && + mv MCONFIG~ MCONFIG && + ./configure && + make && + make install + +
+ +
+ diff --git a/chapter06/utillinux.sgml b/chapter06/utillinux.sgml deleted file mode 100644 index 8f883d63a..000000000 --- a/chapter06/utillinux.sgml +++ /dev/null @@ -1,8 +0,0 @@ - -Installing Utillinux - -&c6-utillinux-inst; -&c6-utillinux-exp; -&aa-utillinux-desc; - - diff --git a/chapter06/utillinux.xml b/chapter06/utillinux.xml new file mode 100644 index 000000000..8f883d63a --- /dev/null +++ b/chapter06/utillinux.xml @@ -0,0 +1,8 @@ + +Installing Utillinux + +&c6-utillinux-inst; +&c6-utillinux-exp; +&aa-utillinux-desc; + + diff --git a/chapter06/vim-inst.sgml b/chapter06/vim-inst.sgml deleted file mode 100644 index 15e8158eb..000000000 --- a/chapter06/vim-inst.sgml +++ /dev/null @@ -1,39 +0,0 @@ - -Installation of Vim - - -If you don't like vim to be installed as an editor on your LFS system, -you may want to download an alternative and install an editor you -prefer. There are a few hints how to install different editors -available at -http://cvs.linuxfromscratch.org/index.cgi/hints/editors/ - - - -You need to unpack both the vim-rt and vim-src packages to install Vim. -Both packages will unpack their files into the vim-5.7 directory. This -won't overwrite any files from the other package. So it doesn't mattter -in which order you do it. Install Vim by running the following commands: - - -
- - ./configure --prefix=/usr && - make && - make install && - cd /usr/bin && - ln -s vim vi - -
- - -If you are planning on installing the X Window system on your LFS -system, you might want to re-compile Vim after you have installed X. Vim -comes with a nice GUI version of the editor which requires X and a few -other libraries to be installed. For more information read the Vim -documentation. - - -
- diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml new file mode 100644 index 000000000..15e8158eb --- /dev/null +++ b/chapter06/vim-inst.xml @@ -0,0 +1,39 @@ + +Installation of Vim + + +If you don't like vim to be installed as an editor on your LFS system, +you may want to download an alternative and install an editor you +prefer. There are a few hints how to install different editors +available at +http://cvs.linuxfromscratch.org/index.cgi/hints/editors/ + + + +You need to unpack both the vim-rt and vim-src packages to install Vim. +Both packages will unpack their files into the vim-5.7 directory. This +won't overwrite any files from the other package. So it doesn't mattter +in which order you do it. Install Vim by running the following commands: + + +
+ + ./configure --prefix=/usr && + make && + make install && + cd /usr/bin && + ln -s vim vi + +
+ + +If you are planning on installing the X Window system on your LFS +system, you might want to re-compile Vim after you have installed X. Vim +comes with a nice GUI version of the editor which requires X and a few +other libraries to be installed. For more information read the Vim +documentation. + + +
+ diff --git a/chapter06/vim.sgml b/chapter06/vim.sgml deleted file mode 100644 index f13691833..000000000 --- a/chapter06/vim.sgml +++ /dev/null @@ -1,7 +0,0 @@ - -Installing Vim - -&c6-vim-inst; -&aa-vim-desc; - - diff --git a/chapter06/vim.xml b/chapter06/vim.xml new file mode 100644 index 000000000..f13691833 --- /dev/null +++ b/chapter06/vim.xml @@ -0,0 +1,7 @@ + +Installing Vim + +&c6-vim-inst; +&aa-vim-desc; + + -- cgit v1.2.3-54-g00ecf