X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=prep.sh;fp=prep.sh;h=2688d4d9f488c87352ba5e828701c361b1c4d5d9;hb=2e5c004f0aed59137050c658bea25b791f7de552;hp=2a94d45ba32e550129663a82093cefe838f4b29b;hpb=74b3d98c5de98059ffc28f0855648dbd1cf7760d;p=bootcd.git diff --git a/prep.sh b/prep.sh index 2a94d45..2688d4d 100755 --- a/prep.sh +++ b/prep.sh @@ -8,7 +8,7 @@ # Mark Huang # 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