pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
HEADS-UP: sysutils/sysupgrade is about to break on NetBSD HEAD
And after a short while in -11 & -10 STABLE as well.
That is, a change is about to be made to /bin/sh in NetBSD HEAD
which fixes a bug that sysupgrade has been exploiting.
See the thread from
https://mail-index.netbsd.org/pkgsrc-users/2026/11/19/msg043805.html
for details.
Someone probably needs to fix (merge into an existing patches/* patch) a
change of 1 line of the sysupgrade script from
for set_name in "${@:-$(shtk_config_get SETS)}"; do
to
test "$#" -gt 0 || set -- $(shtk_config_get SETS)
for set_name do
That's it. It is safe - in fact a very good idea - it will fix the
issue described in the message above when the shell being used for
sysupgrade is not the NetBSD shell (no other shell I could find executes
that one line the way it was intended - all shells, old versions of the
NetBSD shell included, will execute the suggested replacement), and will
keep sysupgrade usable properly after the NetBSD shell is fixed.
(Tomorrow (Tue) UTC probably, considerably later today my timezone).
kre
ps: I don't use sysupgrade, and have no way to test it, but this change
is kind of absurdly obvious.
Home |
Main Index |
Thread Index |
Old Index