r9473 - in trunk/BOOK: chapter01 chapter07

bryan at linuxfromscratch.org bryan at linuxfromscratch.org
Fri Feb 18 20:37:28 PST 2011


Author: bryan
Date: 2011-02-18 21:37:23 -0700 (Fri, 18 Feb 2011)
New Revision: 9473

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter07/symlinks.xml
Log:
Fix the sed in the CD-ROM symlink section to handle newer Udev rules files



Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2011-02-18 21:44:06 UTC (rev 9472)
+++ trunk/BOOK/chapter01/changelog.xml	2011-02-19 04:37:23 UTC (rev 9473)
@@ -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>
 

Modified: trunk/BOOK/chapter07/symlinks.xml
===================================================================
--- trunk/BOOK/chapter07/symlinks.xml	2011-02-18 21:44:06 UTC (rev 9472)
+++ trunk/BOOK/chapter07/symlinks.xml	2011-02-19 04:37:23 UTC (rev 9473)
@@ -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/& <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




More information about the lfs-book mailing list