From: Andres Salomon Date: Wed, 15 Oct 2008 23:23:55 +0000 (-0400) Subject: initchroot: fix a buglet that left initramfs/kernel packages in / X-Git-Tag: v0.2~20 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=0d207c08e00fcad0cb054fa94ac52a69c8c6eba1;p=xodist initchroot: fix a buglet that left initramfs/kernel packages in / Signed-off-by: Andres Salomon --- diff --git a/initchroot.sh b/initchroot.sh index 9e0a648..fcf3071 100755 --- a/initchroot.sh +++ b/initchroot.sh @@ -141,7 +141,7 @@ for i in $k; do wget --continue -O cache/${pkg} ${i} cp cache/${pkg} ${ROOT_DIR}/${pkg} (chroot ${ROOT_DIR} dpkg -i /${pkg}) - rm -f ${ROOT_DIR}/${k} + rm -f ${ROOT_DIR}/${pkg} done # ensure certain modules get loaded during boot