aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-03-05 23:39:38 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-03-05 23:39:38 -0500
commit49a5f86c12aab36d93f27d38e78960157fee2de2 (patch)
treeb4df8b5797a0ff86916e652d8f8f4ebaa9277d6a
parent2d83358f8f74890d74352f46786cfd4a68d63cef (diff)
downloadkvm-manager-49a5f86c12aab36d93f27d38e78960157fee2de2.tar.gz
kvm-manager-49a5f86c12aab36d93f27d38e78960157fee2de2.tar.bz2
clean up after a repack
-rwxr-xr-xdi-maker1
1 files changed, 1 insertions, 0 deletions
diff --git a/di-maker b/di-maker
index bcf6c63..7c979d0 100755
--- a/di-maker
+++ b/di-maker
@@ -87,6 +87,7 @@ if [ "$#" -gt 0 ]; then
gzip -d < "$WORKDIR/$INITRAMFS" | (cd "$unpackdir" && fakeroot -i "$fstate" -s "$fstate" cpio --extract)
cp "$@" "$unpackdir/"
(cd "$unpackdir" && find . | fakeroot -i "$fstate" -s "$fstate" cpio --create -H newc | gzip ) > "$WORKDIR/$INITRAMFS"
+ rm -rf "$unpackdir"
fi
mkdir -p "$WORKDIR/boot/grub"