On Wed, 30 Jun 2010 21:07:06 -0500
Bruce Dubbs <bruce.du...@gmail.com> wrote:


> It's just not important enough to fix.  If someone creates a patch,
> I'll apply it.

Here is a patch, you can apply it if it is helpful.

<code>
#!/bin/bash
# usage: fixa.sh source_top_directory_full_path
# e.g., ./fixa.sh ~/LFS-DEV/BOOK
# For fixing a trivial wording issue about
# clarifying the approximate build SBU number
# and required disk space of the package.

cd $1

# Delete " testsuite included" from ./packages.ent
cp  -u packages.ent{,.orig}
sed 's/ testsuite included//g' \
packages.ent.orig > packages.ent
touch packages.ent.orig

# Add note into ./chapter05/binutils-pass1.xml
cp -u chapter05/binutils-pass1.xml{,.orig}
a="<para>Now prepare Binutils for compilation:</para>"
b="<note><para>The approximate build SBU\ "\
"number and required disk space\n\ \ \ \ "\
"of the package in Chapter 5 does\ "\
"not include testsuite.</para></note>\n\n\ \ \ \ &"
sed "s...@$(echo $a)@$(echo $b)@" \
chapter05/binutils-pass1.xml.orig \
> chapter05/binutils-pass1.xml
touch chapter05/binutils-pass1.xml.orig

# Add note into ./chapter06/linux-headers.xml
cp -u chapter06/linux-headers.xml{,.orig}
a="<title>Installation of Linux API Headers</title>"
b="&\n\n\ \ \ \ <note><para>The approximate build\ "\
"SBU number and required disk space\n\ \ \ \ "\
"of the package which has testsuite in\ "\
"Chapter 6 includes testsuite.</para></note>"
sed "s...@$(echo $a)@$(echo $b)@" \
chapter06/linux-headers.xml.orig \
> chapter06/linux-headers.xml
touch chapter06/linux-headers.xml.orig

exit 0
</code>

--
littlebat
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to