summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-05-22 21:09:45 +0300
committerThomas Backlund <tmb@mageia.org>2015-05-22 21:09:45 +0300
commita4c76323d2d381134d3099a80a29c3eadd9f9317 (patch)
tree4e63961c0602240fb2abfa62864cfc9af3ee1c2c /draklive
parent05ff91fe4c881e4e7f0604c4b57450a09a6a106d (diff)
downloaddrakiso-a4c76323d2d381134d3099a80a29c3eadd9f9317.tar
drakiso-a4c76323d2d381134d3099a80a29c3eadd9f9317.tar.gz
drakiso-a4c76323d2d381134d3099a80a29c3eadd9f9317.tar.bz2
drakiso-a4c76323d2d381134d3099a80a29c3eadd9f9317.tar.xz
drakiso-a4c76323d2d381134d3099a80a29c3eadd9f9317.zip
generate proper efi isohybrid
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 60de35c..eafd017 100755
--- a/draklive
+++ b/draklive
@@ -763,7 +763,7 @@ sub build_iso_image {
if ($dest) {
my $dir = dirname($dest);
my $filename = basename($dest);
- run_('isohybrid', '-o 1', $dest);
+ run_('isohybrid', ($live->{settings}{arch} =~ /x86_64/ ? '-u' : '-o 1'), $dest);
run_('mgaiso-addmd5', '>', '/dev/null', '2>', '/dev/null', $dest);
run_({ chdir => $dir }, 'md5sum', '>', $dest . '.md5', $filename);
run_({ chdir => $dir }, 'sha1sum', '>', $dest . '.sha1', $filename);