]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - make.sh
Don't remove old kernel version at update of linux-xen
[people/pmueller/ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index a4063a56252eecc6ab7c9605c2c6df5a3776e59f..3308db7b53ad01b6cc12bb4638eb7249796dccf3 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -713,13 +713,13 @@ buildpackages() {
 
   ipfirepackages
 
-#  # Check if there is a loop device for building in virtual environments
-#  if [ -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
-#        cp -f $BASEDIR/packages/linux-xen-*.ipfire $LFS/install/packages/
-#      ipfiremake xen-image ED=$IPFVER
-#      rm -rf $LFS/install/packages/linux-xen-*.ipfire
-#  fi
-#  mv $LFS/install/images/*.bz2 $BASEDIR >> $LOGFILE 2>&1
+  # Check if there is a loop device for building in virtual environments
+  if [ -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
+        cp -f $BASEDIR/packages/linux-xen-*.ipfire $LFS/install/packages/
+       ipfiremake xen-image ED=$IPFVER
+       rm -rf $LFS/install/packages/linux-xen-*.ipfire
+  fi
+  mv $LFS/install/images/*.bz2 $BASEDIR >> $LOGFILE 2>&1
 
   # Cleanup
   stdumount