[Fai-commit] r4326 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Tue Jun 12 21:34:04 UTC 2007
Author: lange
Date: 2007-06-12 21:34:04 +0000 (Tue, 12 Jun 2007)
New Revision: 4326
Modified:
trunk/bin/make-fai-nfsroot
Log:
KERNELPACKAGE is obsolete
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2007-06-12 21:07:02 UTC (rev 4325)
+++ trunk/bin/make-fai-nfsroot 2007-06-12 21:34:04 UTC (rev 4326)
@@ -435,9 +435,8 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - -
# main routine
-[ -z "$KERNELPACKAGE" ] && die "\$KERNELPACKAGE is not set. Aborting."
-
# remove all kernels from nfsroot
+# TODO: use aptitude or dpkg to remove kernel package
[ -n "$kremove" ] && {
echo "Removing all kernels from NFSROOT."
rm -f $NFSROOT/boot/{System.map,vmlinuz,config,patches}*
More information about the Fai-commit
mailing list