aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdi-maker4
1 files changed, 3 insertions, 1 deletions
diff --git a/di-maker b/di-maker
index 4252fb9..04e4378 100755
--- a/di-maker
+++ b/di-maker
@@ -59,7 +59,9 @@ menuentry "$SUITE d-i (created $(date -R))" {
}
EOF
+absoutput="$(pwd)/$output"
+
## no longer using genisoimage with grub2:
# genisoimage -R -input-charset utf-8 -b boot/grub/stage2_eltorito -no-emul-boot --boot-load-size 4 -boot-info-table "$WORKDIR"
-grub-mkrescue --overlay="$WORKDIR" "$output"
+(cd "$WORKDIR" && grub-mkrescue --output="$absoutput" .)