#
f608ccda |
| 13-Dec-2023 |
ajacoutot <ajacoutot@openbsd.org> |
Match what reorder_kernel is doing and use kern.osversion to find out whether we are running an MP kernel or not.
based on a reworked submission from kris at devtty dot one via deraadt@ input and ok
Match what reorder_kernel is doing and use kern.osversion to find out whether we are running an MP kernel or not.
based on a reworked submission from kris at devtty dot one via deraadt@ input and ok robert@
show more ...
|
#
91cb7cd0 |
| 07-Dec-2020 |
ajacoutot <ajacoutot@openbsd.org> |
When asking to install patches and none are available, return 2.
man page and inputs from schwarze@ ok sthen@
|
#
28b81e73 |
| 27-Oct-2020 |
tb <tb@openbsd.org> |
Check that SHA256.sig has at least three lines
If there are fewer than three syspatches, this utility currently won't see them due to a small thinko from r1.164 that checks whether SHA256 has at lea
Check that SHA256.sig has at least three lines
If there are fewer than three syspatches, this utility currently won't see them due to a small thinko from r1.164 that checks whether SHA256 has at least three lines (two lines signature + 1 line with a syspatch) instead of doing the same on SHA256.sig. Adjust the check so it works as intended with no need for brilliantly ugly workarounds from robert.
found by tj ok ajacoutot
show more ...
|
#
5f723439 |
| 08-Oct-2020 |
kn <kn@openbsd.org> |
Print usage to stderr, print error messages in errx(3) fashion
While here, rename sg_err()/ug_err() to just err() and sync code between syspatch(8) and sysupgrade(8).
Feedback OK naddy
|
#
dee18dcc |
| 18-Jul-2020 |
ajacoutot <ajacoutot@openbsd.org> |
set -/+o pipefail around the magic loop in ls_missing() so that we can properly error out if ftp(1) or tar(1) fails; this happened to swarte@ a few months (something to do with /home on NFS without -
set -/+o pipefail around the magic loop in ls_missing() so that we can properly error out if ftp(1) or tar(1) fails; this happened to swarte@ a few months (something to do with /home on NFS without -maproot IIRC).
Check that the signature file is at least 3 lines long (meaning that it contains at least 1 syspatch) before entering the magic loop otherwise `grep -q' will abort the script due to pipefail.
While here, revove a useless use of sort(1).
show more ...
|
#
512df21d |
| 04-Jul-2020 |
ajacoutot <ajacoutot@openbsd.org> |
Our old ksh(1) bug where eval()uating a || compound list would terminate the shell has been fixed by benno@; remove workaround.
ok naddy@
|
#
474af46f |
| 04-Jul-2020 |
ajacoutot <ajacoutot@openbsd.org> |
Small XXX.
|
#
c76b35d7 |
| 24-May-2020 |
tb <tb@openbsd.org> |
Relax the filename checks to allow dashes as well. Starting with OpenBSD 6.9, we can use less awkward filenames.
Initial diff by deraadt, ok aja
|
#
25143596 |
| 16-May-2020 |
ajacoutot <ajacoutot@openbsd.org> |
Simplify: _BSDMP was only used once.
|
#
f617247d |
| 10-Dec-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Just output a generic error message: "Unsupported filesystem, aborting" for mfs, nfs and co.
|
#
9980b193 |
| 10-Nov-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Drop non existent vars.
|
#
59aecf2c |
| 26-Oct-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Wrap long lines.
|
#
d7c62aed |
| 26-Oct-2019 |
deraadt <deraadt@openbsd.org> |
use ftp -N option; ok jca
|
#
b8b6c56c |
| 25-Oct-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Retracted a bit too much.
|
#
8bcaa1af |
| 23-Oct-2019 |
deraadt <deraadt@openbsd.org> |
retract 1.151, now that ftp reports the failing url itself. with jca, ok aja
|
#
ff2a1e0d |
| 20-Oct-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Tweak and sync comment.
|
#
9880595c |
| 19-Oct-2019 |
tb <tb@openbsd.org> |
Determine the OS version in a way that won't break after 9.9. Do it the same way in all three copies of the code.
Based on a patch from Chris Waddey. with & ok ajacoutot
|
#
6d05af0b |
| 14-Oct-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Better error message when we fail to fetch SHA256.sig. Add "syspatch:" to every error message so we know where it comes from.
req. by deraddt@ ok deraadt@ tb@
|
#
1a49fa34 |
| 28-Sep-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor X11R6). Suggested by tb@
ok deraadt@ tb@ millert@
|
#
a0cc1304 |
| 07-Jul-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Tell user to look at manually running /usr/libexec/reorder_kernel in case it fails at the end of the syspatch run. Because a kernel syspatch was installed, a user could think the kernel was updated a
Tell user to look at manually running /usr/libexec/reorder_kernel in case it fails at the end of the syspatch run. Because a kernel syspatch was installed, a user could think the kernel was updated accordingly; which is not the case if reorder_kernel fails.
show more ...
|
#
7f3597a0 |
| 05-May-2019 |
ajacoutot <ajacoutot@openbsd.org> |
For "unpriv -f file", chown file back to root once the command finishes, like install.sub and sysupgrade(8) do.
|
#
63467dfa |
| 05-May-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Initialise variable.
|
#
d7ee0851 |
| 05-May-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Change variable name.
|
#
4c0afd38 |
| 26-Apr-2019 |
ajacoutot <ajacoutot@openbsd.org> |
If we don't have a proper installurl, use cdn.openbsd.org. Idea from sysupgrade(8).
|
#
f5d8f4ec |
| 26-Feb-2019 |
ajacoutot <ajacoutot@openbsd.org> |
Move release check up front.
|