- merge revision 1.10
[bootcd.git] / prep.sh
diff --git a/prep.sh b/prep.sh
index 2a94d45..2688d4d 100755 (executable)
--- a/prep.sh
+++ b/prep.sh
@@ -8,7 +8,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2004-2006 The Trustees of Princeton University
 #
-# $Id: prep.sh,v 1.9 2006/07/20 19:59:51 mlhuang Exp $
+# $Id: prep.sh,v 1.10 2006/07/24 15:33:07 mlhuang Exp $
 #
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -77,7 +77,6 @@ sharutils
 
 # Unnecessary junk
 junk=(
-boot
 lib/obsolete
 lib/tls
 usr/share/cracklib
@@ -206,6 +205,9 @@ for kernel in $bootcd/boot/vmlinuz-* ; do
     fi
 done
 
+# Don't need /boot anymore
+rm -rf $bootcd/boot
+
 # initramfs requires that /init be present
 ln -sf /sbin/init $bootcd/init