From c5528f758a923ad65de0cbbf2dfa7e1c6b0c54c5 Mon Sep 17 00:00:00 2001 From: Bryan Kadzban Date: Sat, 19 Feb 2011 04:37:23 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 4 ++++ chapter07/symlinks.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 @@ [bdubbs] Fix several urls in Chapter 3. Thanks to splotz90 for the patch. + + [bryan] Fix the sed in the CD-ROM symlinks section, + to sync with upstream changes to the file being modified. + 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 mode is one of by-id or by-path): -sed -i -e 's/write_cd_rules/& mode/' \ +sed -i -e 's/"write_cd_rules"/"write_cd_rules mode"/' \ /lib/udev/rules.d/75-cd-aliases-generator.rules Note that it is not necessary to create the rules files or symlinks