Taylor, ForrestX wrote:
I am trying to rebuild the RHL 9 discs, but when I run buildinstall, I keep getting these errors:
gunzip: stdin: unexpected end of file
I've seen these before while building the boot.img files, but I even get the error while building hdstg.img.
No replies...has anyone tried this?
Also, I cannot find the comps tarball for RHL9, and rhlinux.redhat.com seems to be down. Has anyone seen it?
Forrest --
diff -urN anaconda-9.0.orig/scripts/mk-images anaconda-9.0/scripts/mk-images
--- anaconda-9.0.orig/scripts/mk-images 2003-01-22 13:02:55.000000000 -0800
+++ anaconda-9.0/scripts/mk-images 2003-04-21 14:09:07.000000000 -0700
@@ -278,7 +278,13 @@
pushd $MMB_DIR/modules > /dev/null
+ unset FIND
+ FIND=`find . -name '*.o.gz'`
+ if [ ! -z "$FIND" ];then
find . -name '*.o.gz' |xargs gunzip
+ else
+ echo "No *.o.gz files"
+ fi
$MODLIST --modinfo-file $MODINFO --ignore-missing --modinfo \
$MMB_MODULESET > ../$MMB_MODINFO
@@ -833,7 +839,13 @@
PCMCIAMODULES=$((perl -e 'while (<>) { s/^.*class.*(network|scsi|ide).*module +"// || next; s/[" ]//g; s/,/\n/g; print }' $KERNELROOT/etc/pcmcia/config | sed 's/\.o//g') | sort -u)
fi
+ unset FIND
+ FIND=`find $KERNELROOT/lib/modules/$version -name "*.o.gz"`
+ if [ ! -z "$FIND" ];then
find $KERNELROOT/lib/modules/$version -name "*.o.gz" |xargs gunzip
+ else
+ echo "No *.o.gz files"
+ fi
allmods=$(find $KERNELROOT/lib/modules/$version -name *.o)
rundepmod "$allmods" $MODDEPS