aboutsummaryrefslogtreecommitdiff
path: root/di-maker
diff options
context:
space:
mode:
Diffstat (limited to 'di-maker')
-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"