aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-08 16:27:43 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-08 16:27:43 -0500
commit64f1b41721fbafd379f8fc5453861088449c3ba1 (patch)
tree0fbc9216862033b7c78efe65a43bc551644dfce6
parentcac5ef58b78338591be29da5c536208cf1a39842 (diff)
downloadkvm-manager-64f1b41721fbafd379f8fc5453861088449c3ba1.tar.gz
kvm-manager-64f1b41721fbafd379f8fc5453861088449c3ba1.tar.bz2
make di-maker use the latest version of grub-mkrescue
-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" .)