[Prism54-users] crond your compilation daily!

david david@hulk.gulmu.com
Wed, 5 Nov 2003 15:33:07 +0100


Must have kernel source in /somewhere/somedir

cd /somewhere/somedir
file=`date +patch-2.4.23-pre9-prism54-CVS-%Y-%m-%d.bz2`
wget http://prism54.org/pub/linux/snapshot/kernel/v2.4/$file
if [ -f $file ];
then
        rm -rf linux-2.4.22
        tar -zxf linux-2.4.22.tar.gz
        cd linux-2.4.22
        bzcat ../patch-2.4.23-pre9.bz2 | patch -p1
        bzcat ../$file | patch -p1
        cp ../config-2.4.23 .config
        make dep clean bzImage modules
#	make  modules_install install
        echo "Kernel ok for $file"
fi