|
From: Heiko Z. <he...@zu...> - 2007-11-30 21:05:36
|
I like it, then we don't have to download that huge kernel tarball every time. It may also work if you use the $KERNELVERSION variable (may be spelled a little different) for the filename, then we don't need the separate folder. Something like: bzcat $DL_DIR/srv/patch-$KERNELVERSION.bz2 | patch -p1 || exit 1 Heiko On Fri, November 30, 2007 14:23, Serge Leschinsky wrote: > Hi, > > > please tell me your opinion about the following change: > > =================================================================== > RCS file: /cvsroot/devil-linux/build/scripts/prepare,v > retrieving revision 1.69 diff -u -r1.69 prepare --- scripts/prepare 22 > Oct 2007 14:08:51 -0000 1.69 > +++ scripts/prepare 29 Nov 2007 14:48:14 -0000 > @@ -39,6 +39,16 @@ > echo "please remove or rename it" exit 1 fi + > + pushd $KERNELDIR > /dev/null > + if [ ! -f .minor_version_patch.done ]; then > + for i in $(ls -1 ../../src/kernel-minor-patch/*) > + do > + bzcat $i | patch -p1 || exit 1 > + done > + touch .minor_version_patch.done > + popd > /dev/null > + fi > > > # let's find out if we force the usage of old kernel include files > # this is sometimes necessary, when they change too much in the new kernel > =================================================================== > > > from my environment: src/kernel-minor-patch/patch-2.6.23.9.bz2 > src/linux-2.6.23.tar.bz2 > > the ISO file was created successfully. -- Regards Heiko Zuerker http://www.devil-linux.org |