From: Mark Huang Date: Mon, 24 Jul 2006 15:33:07 +0000 (+0000) Subject: - get rid of /boot after copying kernel out X-Git-Tag: bootcd-3.4-2~64 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d7d59078781525ab391f74a9a17db4c0ed8e9a8c;p=bootcd.git - get rid of /boot after copying kernel out --- diff --git a/prep.sh b/prep.sh index c2e0d27..d2ef266 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.8 2006/05/30 19:09:14 mlhuang Exp $ +# $Id: prep.sh,v 1.9 2006/07/20 19:59:51 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