xinglp wrote: > I patched the jhalfs. Maybe I should patch the lfs book instead. > > BTW: Is there any tools for editing the lfs book in a easier way, > other than vim.
No, that's how we've always done it. > diff -Naur jhalfs.orig/LFS/master.sh jhalfs/LFS/master.sh > --- jhalfs.orig/LFS/master.sh > +++ jhalfs/LFS/master.sh > @@ -100,7 +100,7 @@ > > # Grab the name of the target (minus the -pass1 or -pass2 in the > case of gcc > # and binutils in chapter 5) > - name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e > 's...@-pass[0-9]\{1\}@@'` > + name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e > 's...@-pass[0-9]\{1\}@@' -e 's...@-utils@@'` > > # Set the dependency for the first target. > if [ -z $PREV ] ; then PREV=022-settingenvironment ; fi > @@ -195,7 +195,7 @@ > esac > > # Grab the name of the target. > - name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e 's,'$N',,'` > + name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e > 's,'$N',,' -e 's...@-utils@@'` > > # Find the version of the command files, if it corresponds with > the building of > # a specific package. We need this here to can skip scripts not needed > for It appears that 'this_script' is taken from the xml filename. I can easily change that. The problem is that the home page calls it 'XZ Utils', but the package is named xz-version. I went ahead and made the change in rev 9438. It shouldn't make any changes to rendered book. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page