Allow to find kernfs and chroot in any chapter
We use those files to generate code snippets to use in Makefile. They used to be in chapter 6, but the new book will have some of them in chapter 5.
This commit is contained in:
parent
3261fe76c8
commit
04de9bc4db
1 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ create_chroot_scripts() { #
|
|||
lfs)
|
||||
xsltproc --nonet --xinclude \
|
||||
-o chroot-scripts/ chroot.xsl \
|
||||
$BOOK/chapter06/chapter06.xml >> $LOGDIR/$LOG 2>&1
|
||||
$BOOK/chapter0?/*chroot*.xml >> $LOGDIR/$LOG 2>&1
|
||||
;;
|
||||
*)
|
||||
esac
|
||||
|
@ -312,7 +312,7 @@ create_kernfs_scripts() { #
|
|||
lfs)
|
||||
xsltproc --nonet \
|
||||
-o kernfs-scripts/devices.sh kernfs.xsl \
|
||||
$BOOK/chapter06/kernfs.xml >> $LOGDIR/$LOG 2>&1
|
||||
$BOOK/*/kernfs.xml >> $LOGDIR/$LOG 2>&1
|
||||
xsltproc --nonet \
|
||||
-o kernfs-scripts/teardown.sh kernfs.xsl \
|
||||
$BOOK/chapter09/reboot.xml >> $LOGDIR/$LOG 2>&1
|
||||
|
|
Reference in a new issue