From 61a76e657731e375c3764beea5c492e25c94ee40 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 11 Jun 2008 13:39:05 +0000 Subject: image creation git-svn-id: svn://tug.org/texlive/trunk@8671 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-images | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-images') 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). -- cgit v1.2.3