summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-04-07 22:03:17 +0000
committerThomas Backlund <tmb@mageia.org>2012-04-07 22:03:17 +0000
commit7d352a94b686f38f399d2b812e3458ddb3d90f19 (patch)
tree4f7907e4aa239c07a65b33c60cba06e7545d13f0
parent53c3d38cd710983b8ef0234c3822e3e3300f1f66 (diff)
downloaddraklive-7d352a94b686f38f399d2b812e3458ddb3d90f19.tar
draklive-7d352a94b686f38f399d2b812e3458ddb3d90f19.tar.gz
draklive-7d352a94b686f38f399d2b812e3458ddb3d90f19.tar.bz2
draklive-7d352a94b686f38f399d2b812e3458ddb3d90f19.tar.xz
draklive-7d352a94b686f38f399d2b812e3458ddb3d90f19.zip
make isohybrid start first partition on sector 1 (mga #5036)
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 96aaa57..0d4a97a 100755
--- a/draklive
+++ b/draklive
@@ -576,7 +576,7 @@ sub remove_unneeded_bootlogo_locales {
-f $bootlogo or return;
my $cwd = Cwd::getcwd();
- my $tempdir = File::Temp::tempdir("tmp/mdvgfxbootXXXX", CLEANUP => 1);
+ my $tempdir = File::Temp::tempdir("tmp/mgagfxbootXXXX", CLEANUP => 1);
chdir $tempdir;
!system("cpio -id < $bootlogo") or return;
@@ -762,7 +762,7 @@ sub build_iso_image {
if ($dest) {
my $dir = dirname($dest);
my $filename = basename($dest);
- run_('isohybrid', $dest);
+ run_('isohybrid', '-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);