Dirty hack to fix CLFS bootscripts unpacking.

Fixed also udev-rules installation when METHOD=boot.
This commit is contained in:
Manuel Canales Esparcia 2006-06-18 10:09:53 +00:00
parent 89fc40cf90
commit 2eb1f440bc

View file

@ -734,10 +734,14 @@ bootscripts_Makefiles() { #
-e 's@64@@' \
-e 's@n32@@'`
case $name in
*bootscripts*) name=bootscripts-cross-lfs ;;
*bootscripts*) name=clfs-bootscripts ;; # Very dirty hack
*udev-rules) name=udev-cross-lfs ;;
esac
vrs=`grep "^$name-version" $JHALFSDIR/packages | sed -e 's/.* //' -e 's/"//g'`
# Very dirty hack
case $name in
*bootscripts*) name=bootscripts-cross-lfs ;;
esac
#--------------------------------------------------------------------#
# >>>>>>>> START BUILDING A Makefile ENTRY <<<<<<<< #
@ -779,7 +783,7 @@ bm_bootscripts_Makefiles() { #
this_script=`basename $file`
case $this_script in
*udev*) continue ;; # This is not a script but a commentary
*udev) continue ;; # This is not a script but a commentary
*console*) continue ;; # Use the files that came with the bootscripts
*) ;;
esac
@ -795,10 +799,14 @@ bm_bootscripts_Makefiles() { #
-e 's@64@@' \
-e 's@n32@@'`
case $name in
*bootscripts*) name=bootscripts-cross-lfs
;;
*bootscripts*) name=clfs-bootscripts ;; # Very dirty hack
*udev-rules) name=udev-cross-lfs ;;
esac
vrs=`grep "^$name-version" $JHALFSDIR/packages | sed -e 's/.* //' -e 's/"//g'`
# Very dirty hack
case $name in
*bootscripts*) name=bootscripts-cross-lfs ;;
esac
#--------------------------------------------------------------------#
# >>>>>>>> START BUILDING A Makefile ENTRY <<<<<<<< #