]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - make.sh
Buildsystem: generate image md5sums.
[people/pmueller/ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index 4461c8e8b83d3b0ceca1c91160bb573bbf3da111..69f502fcdee1eb5580eb139efe9dfe557466dc1c 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -684,6 +684,7 @@ buildipfire() {
   ipfiremake imspector
   ipfiremake miniupnpd
   ipfiremake client175
+  ipfiremake powertop
   echo Build on $HOSTNAME > $BASEDIR/build/var/ipfire/firebuild
   cat /proc/version >> $BASEDIR/build/var/ipfire/firebuild
   echo >> $BASEDIR/build/var/ipfire/firebuild
@@ -761,6 +762,12 @@ buildpackages() {
   fi
   mv $LFS/install/images/*.bz2 $BASEDIR >> $LOGFILE 2>&1
 
+  cd $BASEDIR
+  for i in `ls *.bz2 *.img.gz *.iso`; do
+       md5sum $i > $i.md5
+  done
+  cd $PWD
+
   # Cleanup
   stdumount
   rm -rf $BASEDIR/build/tmp/*
@@ -837,8 +844,10 @@ build)
        buildpackages
        
        beautify build_stage "Checking Logfiles for new Files"
-       cd ..
+
+       cd $BASEDIR
        tools/checknewlog.pl
+       cd $PWD
 
        beautify build_end
        ;;
@@ -870,6 +879,7 @@ clean)
        if [ -h /tools ]; then
                rm -f /tools
        fi
+       rm -f $BASEDIR/ipfire-*
        beautify message DONE
        ;;
 downloadsrc)