aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@linuxfromscratch.org>2011-02-19 04:37:23 +0000
committerBryan Kadzban <bryan@linuxfromscratch.org>2011-02-19 04:37:23 +0000
commitc5528f758a923ad65de0cbbf2dfa7e1c6b0c54c5 (patch)
tree4a0ebce19fae20b607be8fc362751b902d922a01
parent6d376142aabd39d7319f8f7be63a5a7f6265f0c5 (diff)
Fix the sed in the CD-ROM symlink section to handle newer Udev rules files
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9473 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter07/symlinks.xml2
2 files changed, 5 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 4bf371dbe..0c080d300 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -43,6 +43,10 @@
<para>[bdubbs] Fix several urls in Chapter 3. Thanks to
splotz90 for the patch.</para>
</listitem>
+ <listitem>
+ <para>[bryan] Fix the sed in the CD-ROM symlinks section,
+ to sync with upstream changes to the file being modified.</para>
+ </listitem>
</itemizedlist>
</listitem>
diff --git a/chapter07/symlinks.xml b/chapter07/symlinks.xml
index faa9abbd2..7f5c03532 100644
--- a/chapter07/symlinks.xml
+++ b/chapter07/symlinks.xml
@@ -76,7 +76,7 @@
as follows (where <replaceable>mode</replaceable> is one of
<quote>by-id</quote> or <quote>by-path</quote>):</para>
-<screen role="nodump"><userinput>sed -i -e 's/write_cd_rules/&amp; <replaceable>mode</replaceable>/' \
+<screen role="nodump"><userinput>sed -i -e 's/"write_cd_rules"/"write_cd_rules <replaceable>mode</replaceable>"/' \
/lib/udev/rules.d/75-cd-aliases-generator.rules</userinput></screen>
<para>Note that it is not necessary to create the rules files or symlinks