diff options
Diffstat (limited to 'Master/tlpkg/bin/tl-update-images')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-images | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images index a1c48e57cae..21307ff2c5d 100755 --- a/Master/tlpkg/bin/tl-update-images +++ b/Master/tlpkg/bin/tl-update-images @@ -44,13 +44,13 @@ while test $# -gt 0; do case $1 in --debug) debug=true; quiet=;; --help) echo "No help, use the source, sorry."; exit 0;; + --master=*) master=`echo $1 | sed 's/.*=//'`;; --mkisofs=*) mkisofs=`echo $1 | sed 's/.*=//'`;; --nolive) makelive=false;; --quiet) quiet=-quiet;; - --source=*) master=`echo $1 | sed 's/.*=//'`;; - --work=*) work=`echo $1 | sed 's/.*=//'`;; --target=*) target=`echo $1 | sed 's/.*=//'`;; - *) break;; + --work=*) work=`echo $1 | sed 's/.*=//'`;; + *) break;; esac shift done @@ -81,12 +81,12 @@ MAKELIVE () { rm -f $prefix-*.iso* $prefix-*.md5 $prefix-*.sha256 # The Master directory is the image. - (cd $master || exit 1 - mkisofs $common_mkisofs_options -o $live_iso . - ) + (cd $master && mkisofs $common_mkisofs_options -o $live_iso .) # also make compressed version, helps people downloading test images. - lzma -v <$live_iso >$live_iso.lzma + # this takes two hours or so, so write to a temp file and then rename. + lzma -v <$live_iso >$live_iso.lzma.part + mv $live_iso.lzma.part $live_iso.lzma # make checksums # and symlinks with short names (potentially used in /etc/fstab). |