summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-11 13:39:05 +0000
committerKarl Berry <karl@freefriends.org>2008-06-11 13:39:05 +0000
commit61a76e657731e375c3764beea5c492e25c94ee40 (patch)
tree7528d94c93602476e8acc41da37985aaa0caab84 /Master/tlpkg/bin
parent403880718f7a45f5006418dcf189f4fcec90290b (diff)
image creation
git-svn-id: svn://tug.org/texlive/trunk@8671 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-images14
-rwxr-xr-xMaster/tlpkg/bin/tl-update-lsr22
2 files changed, 7 insertions, 29 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).
diff --git a/Master/tlpkg/bin/tl-update-lsr b/Master/tlpkg/bin/tl-update-lsr
deleted file mode 100755
index 90a761d570a..00000000000
--- a/Master/tlpkg/bin/tl-update-lsr
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-# $Id$
-# Originally written 2004, Karl Berry. Public domain.
-#
-# Update ls-R files. Called from tlrebuild and also karl@tug's cron.
-
-mydir=`dirname $0`
-tools=`cd $mydir && pwd`
-PATH=$tools:$PATH; export PATH
-umask 0
-
-master=`cd $mydir/../../Master && pwd`
-cd $master || exit 1
-
-# generate new.
-./bin/i386-linux/mktexlsr
-
-# if texmf-var exists, it's not part of the distribution.
-test -f texmf-var/ls-R && svn revert texmf-var/ls-R
-
-# if we have changes, submit to repository (frightening but necessary).
-svn commit -m'update-lsr autoupdate' texmf*/ls-R