From 2c5e4d59948440468cb722c1f3675e7396a20c33 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Mon, 29 Aug 2005 19:11:10 +0000 Subject: Added dump-commands.xsl. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6774 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- Makefile | 5 +++ chapter02/creatingfilesystem.xml | 4 +- prologue/typography.xml | 4 +- stylesheets/dump-commands.xsl | 84 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 stylesheets/dump-commands.xsl diff --git a/Makefile b/Makefile index 1a60086d0..701dc1861 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ BASEDIR=~/lfs-book +DUMPDIR=~/lfs-commands CHUNK_QUIET=0 PDF_OUTPUT=LFS-BOOK.pdf NOCHUNKS_OUTPUT=LFS-BOOK.html @@ -61,6 +62,10 @@ nochunks: sed -i -e "s@text/html@application/xhtml+xml@g" \ $(BASEDIR)/$(NOCHUNKS_OUTPUT) +dump-commands: + xsltproc --xinclude --nonet --output $(DUMPDIR)/ \ + stylesheets/dump-commands.xsl index.xml + validate: xmllint --noout --nonet --xinclude --postvalid index.xml diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index aa79776a5..414ca6a77 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -29,7 +29,7 @@ e2fsprogs; you will get an error similar to unsupported filesystem features, upgrade your e2fsprogs. To check if your host system uses custom enhancements, run the following command: -debugfs -R feature /dev/[xxx] +debugfs -R feature /dev/[xxx] If the output contains features other than: dir_index; filetype; large_file; resize_inode or sparse_super then your host system may have custom @@ -37,7 +37,7 @@ enhancements. In that case, to avoid later problems, you should compile the stock e2fsprogs package and use the resulting binaries to re-create the filesystem on your LFS partition: -cd /tmp +cd /tmp tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2 cd e2fsprogs-&e2fsprogs-version; mkdir build diff --git a/prologue/typography.xml b/prologue/typography.xml index 84ff4ca16..b101817fe 100644 --- a/prologue/typography.xml +++ b/prologue/typography.xml @@ -12,7 +12,7 @@ conventions used throughout this book. This section contains some examples of the typographical format found throughout Linux From Scratch. -./configure --prefix=/usr +./configure --prefix=/usr This form of text is designed to be typed exactly as seen unless otherwise noted in the surrounding text. It is also used in the @@ -37,7 +37,7 @@ purpose is to emphasize important points or items. community and to external pages. It includes HOWTOs, download locations, and websites. -cat > $LFS/etc/group << "EOF" +cat > $LFS/etc/group << "EOF" root:x:0: bin:x:1: ...... diff --git a/stylesheets/dump-commands.xsl b/stylesheets/dump-commands.xsl new file mode 100644 index 000000000..a91bb1cac --- /dev/null +++ b/stylesheets/dump-commands.xsl @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 00 + + + + 0 + + + + + + + + + + + + + + + + + + + + # Run this as root + + # End root commands + + + + + + + + + + + + + # This block must be edited to suit your needs. + + + + + + # End of editable block. + + + + + + **EDITME + + EDITME** + + + -- cgit v1.2.3-54-g00ecf