summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-images
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tl-update-images')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-images18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images
index 7ea87ad967d..72b2c8b2c33 100755
--- a/Master/tlpkg/bin/tl-update-images
+++ b/Master/tlpkg/bin/tl-update-images
@@ -115,12 +115,16 @@ MAKEINST ()
exit 1
fi
cp -pr install-tl *.bat tlpkg $imgdir || exit 1
- # omit symlinks because we don't actually need them and since we want
- # to make Joliet images (though probably not actually needed anymore),
- # every symlink provokes a warning.
+
+ # we also don't want the symlinks since we don't actually need them
+ # and since we want to make Joliet images (though that format may not
+ # be needed anymore). Every symlink provokes a warning from xorrisofs
+ # under Joliet. But copy all the regular files, they are the basic thing.
+ archivedir=$imgdir/archive
+ mkdir $archivedir || exit 1
find archive -type l -prune -o -type f -print \
- | xargs cp --target-directory=$imgdir
- #
+ | xargs cp --target-directory=$archivedir || exit 1
+
# Save all tlpdb files before pruning platforms; these will be posted
# to historic later; see releng.txt.
preprune=$target/preprune-tlpdb
@@ -137,7 +141,7 @@ MAKEINST ()
echo "-- pruning platforms: $prune..."
mkdir $imgdir/tlpkg/bin
cp $mydir/tl-prune-platforms $imgdir/tlpkg/bin
- $imgdir/tlpkg/bin/tl-prune-platforms $prune >/tmp/pruneimg.out
+ $imgdir/tlpkg/bin/tl-prune-platforms $prune >/tmp/pruneimg.out || exit 1
# due to the pruning, must re-checksum and re-sign the tlpdb in the image.
md5sum $imgdir/tlpkg/texlive.tlpdb >$imgdir/tlpkg/texlive.tlpdb.md5 \
@@ -149,7 +153,7 @@ MAKEINST ()
# some files we don't want in the image after all.
rm -rf $imgdir/tlpkg/texlive.tlpdb.xz $imgdir/tlpkg/bin
-
+
# the actual iso creation.
cd $imgdir || exit 1
cmd="$mkisofs $common_mkisofs_options -o $iso ."