diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-03-05 23:39:38 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-03-05 23:39:38 -0500 |
commit | 49a5f86c12aab36d93f27d38e78960157fee2de2 (patch) | |
tree | b4df8b5797a0ff86916e652d8f8f4ebaa9277d6a | |
parent | 2d83358f8f74890d74352f46786cfd4a68d63cef (diff) | |
download | kvm-manager-49a5f86c12aab36d93f27d38e78960157fee2de2.tar.gz kvm-manager-49a5f86c12aab36d93f27d38e78960157fee2de2.tar.bz2 |
clean up after a repack
-rwxr-xr-x | di-maker | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |