summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-03-26 08:27:13 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-03-26 08:27:13 +0000
commitf156e9b4c2a3bf02273b0df6784379b4210aee4e (patch)
tree9b90ac91150c4fd04691ad50f41c27003eb8be32 /draklive
parent34c6204713e17789e78bfe032de25410ff9130e2 (diff)
downloaddrakiso-f156e9b4c2a3bf02273b0df6784379b4210aee4e.tar
drakiso-f156e9b4c2a3bf02273b0df6784379b4210aee4e.tar.gz
drakiso-f156e9b4c2a3bf02273b0df6784379b4210aee4e.tar.bz2
drakiso-f156e9b4c2a3bf02273b0df6784379b4210aee4e.tar.xz
drakiso-f156e9b4c2a3bf02273b0df6784379b4210aee4e.zip
Better to modify the ISO before calculating checksums ;)
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 00de213..a9812ca 100755
--- a/draklive
+++ b/draklive
@@ -604,10 +604,10 @@ sub build_iso_image {
if ($dest) {
my $dir = dirname($dest);
my $filename = basename($dest);
+ run_('isohybrid', $dest);
run_('mkcd', '>', '/dev/null', '2>', '/dev/null', '--addmd5', $dest);
run_({ chdir => $dir }, 'md5sum', '>', $dest . '.md5', $filename);
run_({ chdir => $dir }, 'sha1sum', '>', $dest . '.sha1', $filename);
- run_('isohybrid', $dest);
}
}