texlive[68895] Master/tlpkg/bin: * tl-makeself-from-tlnet: use new

commits+karl at tug.org commits+karl at tug.org
Sun Nov 19 00:32:07 CET 2023


Revision: 68895
          https://tug.org/svn/texlive?view=revision&revision=68895
Author:   karl
Date:     2023-11-19 00:32:06 +0100 (Sun, 19 Nov 2023)
Log Message:
-----------
* tl-makeself-from-tlnet: use new makeself to avoid unnecessary hard
links in embedded archive.
https://tug.org/pipermail/tlu/2023-November/000639.html

* tl-try-makeself: --noprogress.

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tl-makeself-from-tlnet
    trunk/Master/tlpkg/bin/tl-try-makeself

Modified: trunk/Master/tlpkg/bin/tl-makeself-from-tlnet
===================================================================
--- trunk/Master/tlpkg/bin/tl-makeself-from-tlnet	2023-11-18 23:31:31 UTC (rev 68894)
+++ trunk/Master/tlpkg/bin/tl-makeself-from-tlnet	2023-11-18 23:32:06 UTC (rev 68895)
@@ -249,8 +249,12 @@
 # make the self-extracting archive back in the directory from which
 # we were invoked.
 cd "$CWD"
-makeself -q \
-  --header $mydir/../libexec/makeself-header.sh \
+
+# we must use the non-distro (Alma Linux 8) version of makeself, because
+# that happened to have a bug causing unnecessary hard links to end up
+# in the archive, which bsdtar (aka macOS) fails on.
+# https://tug.org/pipermail/tlu/2023-November/000639.html
+/usr/local/share/makeself/makeself.sh -q --keep-umask \
   $TMP \
   update-tlmgr-r$infrarev.sh \
   "TeX Live Manager Updater" \

Modified: trunk/Master/tlpkg/bin/tl-try-makeself
===================================================================
--- trunk/Master/tlpkg/bin/tl-try-makeself	2023-11-18 23:31:31 UTC (rev 68894)
+++ trunk/Master/tlpkg/bin/tl-try-makeself	2023-11-18 23:32:06 UTC (rev 68895)
@@ -18,7 +18,7 @@
 mkdir "$testdir"
 rsync -a "$lc"/{archive,tlpkg} "$testdir"
 
-cd "$testdir"    # because tl-makeself outputs to the current directory
+cd "$testdir"    # because tl-makeself-* outputs to the current directory
 rm -f update*sh  # remove previous attempts
 tl-makeself-from-tlnet "$testdir"
 ls -l "$testdir"
@@ -30,4 +30,4 @@
 
 # Now try running the updater in the installed tree.
 PATH=$tl/bin/x86_64-linux:/usr/bin
-"$testdir"/update-tlmgr-r*.sh #-- --debug
+"$testdir"/update-tlmgr-r*.sh --noprogress #-- --debug



More information about the tex-live-commits mailing list.