diff options
author | Karl Berry <karl@freefriends.org> | 2008-06-11 13:39:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-06-11 13:39:05 +0000 |
commit | 61a76e657731e375c3764beea5c492e25c94ee40 (patch) | |
tree | 7528d94c93602476e8acc41da37985aaa0caab84 /Master/tlpkg/bin/tl-update-images | |
parent | 403880718f7a45f5006418dcf189f4fcec90290b (diff) |
image creation
git-svn-id: svn://tug.org/texlive/trunk@8671 c570f23f-e606-0410-a88d-b1316a301751
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). |