From 0d207c08e00fcad0cb054fa94ac52a69c8c6eba1 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Wed, 15 Oct 2008 19:23:55 -0400 Subject: [PATCH] initchroot: fix a buglet that left initramfs/kernel packages in / Signed-off-by: Andres Salomon --- initchroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5