Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-25 | Add a EXIT STATUS section | solene | |
"no objection" ajacoutot@ | |||
2020-07-18 | set -/+o pipefail around the magic loop in ls_missing() so that we can properly | Antoine Jacoutot | |
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). | |||
2020-07-04 | Our old ksh(1) bug where eval()uating a || compound list would terminate the | Antoine Jacoutot | |
shell has been fixed by benno@; remove workaround. ok naddy@ | |||
2020-07-04 | Small XXX. | Antoine Jacoutot | |
2020-05-24 | Relax the filename checks to allow dashes as well. Starting with | Theo Buehler | |
OpenBSD 6.9, we can use less awkward filenames. Initial diff by deraadt, ok aja | |||
2020-05-16 | Simplify: _BSDMP was only used once. | Antoine Jacoutot | |
2019-12-10 | Just output a generic error message: | Antoine Jacoutot | |
"Unsupported filesystem, aborting" for mfs, nfs and co. | |||
2019-11-10 | Drop non existent vars. | Antoine Jacoutot | |
2019-10-26 | Wrap long lines. | Antoine Jacoutot | |
2019-10-26 | use ftp -N option; ok jca | Theo de Raadt | |
2019-10-25 | Retracted a bit too much. | Antoine Jacoutot | |
2019-10-23 | retract 1.151, now that ftp reports the failing url itself. | Theo de Raadt | |
with jca, ok aja | |||
2019-10-20 | Tweak and sync comment. | Antoine Jacoutot | |
2019-10-19 | Determine the OS version in a way that won't break after 9.9. | Theo Buehler | |
Do it the same way in all three copies of the code. Based on a patch from Chris Waddey. with & ok ajacoutot | |||
2019-10-14 | Better error message when we fail to fetch SHA256.sig. | Antoine Jacoutot | |
Add "syspatch:" to every error message so we know where it comes from. req. by deraddt@ ok deraadt@ tb@ | |||
2019-09-28 | Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor | Antoine Jacoutot | |
X11R6). Suggested by tb@ ok deraadt@ tb@ millert@ | |||
2019-07-07 | Tell user to look at manually running /usr/libexec/reorder_kernel in case | Antoine Jacoutot | |
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. | |||
2019-06-15 | "If any sets are missing, patches are skipped accordingly." | Antoine Jacoutot | |
wording help and ok jmc@ | |||
2019-05-05 | For "unpriv -f file", chown file back to root once the command finishes, | Antoine Jacoutot | |
like install.sub and sysupgrade(8) do. | |||
2019-05-05 | Initialise variable. | Antoine Jacoutot | |
2019-05-05 | Change variable name. | Antoine Jacoutot | |
2019-04-26 | If we don't have a proper installurl, use cdn.openbsd.org. | Antoine Jacoutot | |
Idea from sysupgrade(8). | |||
2019-02-26 | Move release check up front. | Antoine Jacoutot | |
2019-02-20 | Drop '-S' knob from install(1). It's the default and a no-op nowadays. | Antoine Jacoutot | |
ok deraadt@ | |||
2019-01-21 | Don't return 1 if we rollback and there's no installed patches. | Antoine Jacoutot | |
2019-01-21 | Warn user to reboot the machine when a new kernel is installed and let him know | Antoine Jacoutot | |
where to look on the local machine for errata (/var/syspatch) so one can decide if a reboot is needed. ok Theos (tb@ deraadt@) | |||
2019-01-16 | Exit for real as soon as we update ourself. | Antoine Jacoutot | |
2018-10-28 | Properly handle symlinks. | Antoine Jacoutot | |
2018-10-16 | Stop trying to remove /bsd.syspatch. That's ancient stuff that we don't | Antoine Jacoutot | |
do anymore. | |||
2018-05-09 | Remove empty syspatch dir if we fail to extract. | Antoine Jacoutot | |
2018-04-26 | Don't hide stderr; starting with 6.4 there will always be an SHA256.sig. | Antoine Jacoutot | |
2018-03-10 | Allow fetching syspatches from ftp. | Antoine Jacoutot | |
from Andrew Marks ok deraadt@ | |||
2017-12-29 | Prevent syspatch from running and throw an error out if reorder_kernel is | Antoine Jacoutot | |
running. This is to prevent syspatch from installing new kernel object files while reordering is in progress (typically after an install/upgrade on slow machines). req. by and OK sthen@ | |||
2017-11-09 | /usr/share/compile -> /usr/share/relink/kernel | Antoine Jacoutot | |
from semarie I meant to do that at p2k17 but totally forgot... | |||
2017-10-13 | Don't check for mirror availability but directly try to fetch SHA256.sig. That | Antoine Jacoutot | |
check was not safe (index needed to be enabled, top URL may not be available etc.). based on a comment from tj@ | |||
2017-10-12 | Simplify and explicitely state when we cannot access our mirror. | Antoine Jacoutot | |
2017-10-12 | Loosen up installurl(5) check: it's OK to have a trailing slash. | Antoine Jacoutot | |
2017-10-12 | Better error if installurl points to a local directory. | Antoine Jacoutot | |
2017-10-12 | Don't return 1 if the syspatch release directory does not exist; it just | Antoine Jacoutot | |
means that no patch is available yet. | |||
2017-08-29 | While failing to relink the kernel is not fatal to syspatch, we still need | Antoine Jacoutot | |
to warn the user and return a proper error code. | |||
2017-08-29 | Fix logic to not error out. | Antoine Jacoutot | |
2017-08-28 | Inform the user when we are relinking the kernel. | Antoine Jacoutot | |
2017-08-22 | Add support for KARL: | Antoine Jacoutot | |
- only extract the according /usr/share/compile/GENERIC{,.MP} - if a "kernel" patch was properly installed (or rolled back), run /usr/libexec/reorder_kernel _once_ just before exiting - don't backup /bsd anymore, reorder_kernel already does it for us - drop 2 now unused functions: install_kernel() and sp_cleanup() While it appears to work fine after some quick testing, it should still be considered WIP. | |||
2017-08-17 | Set the automatically generated device variables as local to prevent | Antoine Jacoutot | |
accumulating the size of all patches we are applying. from "trondd" on tech@ | |||
2017-08-17 | Fix checkfs() when running an MP kernel. | Antoine Jacoutot | |
2017-08-17 | Honor TMPDIR if it is set to prevent erroring in some setup. | Antoine Jacoutot | |
reported by Igor Falcomata | |||
2017-08-02 | Only run mtree if we install a patch. | Antoine Jacoutot | |
2017-08-01 | For the kernel binpatches, only deal with /bsd. On MP machines we do have | Antoine Jacoutot | |
/bsd.sp by default for now but it maybe de-selected during the installation and the opposite is true for SP machines (MP is *not* installed but may end up being selected for installation). Having to deal with this is too error prone. This makes things much simpler and less confusing. If you have a machine that goes from MP to SP or vice-versa, just `syspatch -R && syspatch' so the proper kernel is updated. | |||
2017-07-30 | If syspatch is updating itself, exit after installing the new syspatch to | Antoine Jacoutot | |
stop installing further patches and warn the user he needs to run it again (so that it'll run with the new code). | |||
2017-07-30 | `-R' requires root privileges. | Antoine Jacoutot | |