- merge revision 1.10
authorMark Huang <mlhuang@cs.princeton.edu>
Mon, 24 Jul 2006 15:33:37 +0000 (15:33 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Mon, 24 Jul 2006 15:33:37 +0000 (15:33 +0000)
date: 2006/07/24 15:33:07;  author: mlhuang;  state: Exp;  lines: +4 -2
- get rid of /boot after copying kernel out

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