summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syspatch
AgeCommit message (Expand)AuthorFilesLines
2020-12-07When asking to install patches and none are available, return 2.ajacoutot2-3/+6
2020-10-27Check that SHA256.sig has at least three linestb1-2/+2
2020-10-08Print usage to stderr, print error messages in errx(3) fashionkn1-14/+16
2020-07-25Add a EXIT STATUS sectionsolene1-2/+4
2020-07-18set -/+o pipefail around the magic loop in ls_missing() so that we can properlyajacoutot1-8/+12
2020-07-04Our old ksh(1) bug where eval()uating a || compound list would terminate theajacoutot1-4/+1
2020-07-04Small XXX.ajacoutot1-1/+2
2020-05-24Relax the filename checks to allow dashes as well. Starting withtb1-4/+4
2020-05-16Simplify: _BSDMP was only used once.ajacoutot1-4/+4
2019-12-10Just output a generic error message:ajacoutot1-4/+4
2019-11-10Drop non existent vars.ajacoutot1-2/+2
2019-10-26Wrap long lines.ajacoutot1-6/+7
2019-10-26use ftp -N option; ok jcaderaadt1-4/+4
2019-10-25Retracted a bit too much.ajacoutot1-2/+3
2019-10-23retract 1.151, now that ftp reports the failing url itself.deraadt1-4/+2
2019-10-20Tweak and sync comment.ajacoutot1-2/+2
2019-10-19Determine the OS version in a way that won't break after 9.9.tb1-2/+2
2019-10-14Better error message when we fail to fetch SHA256.sig.ajacoutot1-8/+12
2019-09-28Add where missing and harmonize PATH to be _PATH_DEFPATH (without local norajacoutot1-1/+2
2019-07-07Tell user to look at manually running /usr/libexec/reorder_kernel in caseajacoutot1-4/+4
2019-06-15"If any sets are missing, patches are skipped accordingly."ajacoutot1-2/+3
2019-05-05For "unpriv -f file", chown file back to root once the command finishes,ajacoutot1-3/+7
2019-05-05Initialise variable.ajacoutot1-2/+2
2019-05-05Change variable name.ajacoutot1-21/+21
2019-04-26If we don't have a proper installurl, use cdn.openbsd.org.ajacoutot1-2/+2
2019-02-26Move release check up front.ajacoutot1-6/+6
2019-02-20Drop '-S' knob from install(1). It's the default and a no-op nowadays.ajacoutot1-2/+2
2019-01-21Don't return 1 if we rollback and there's no installed patches.ajacoutot1-2/+2
2019-01-21Warn user to reboot the machine when a new kernel is installed and let him knowajacoutot1-2/+6
2019-01-16Exit for real as soon as we update ourself.ajacoutot1-3/+3
2018-10-28Properly handle symlinks.ajacoutot1-5/+9
2018-10-16Stop trying to remove /bsd.syspatch. That's ancient stuff that we don'tajacoutot1-3/+1
2018-05-09Remove empty syspatch dir if we fail to extract.ajacoutot1-2/+3
2018-04-26Don't hide stderr; starting with 6.4 there will always be an SHA256.sig.ajacoutot1-2/+2
2018-03-10Allow fetching syspatches from ftp.ajacoutot1-2/+2
2017-12-29Prevent syspatch from running and throw an error out if reorder_kernel isajacoutot1-1/+3
2017-11-09/usr/share/compile -> /usr/share/relink/kernelajacoutot1-5/+5
2017-10-13Don't check for mirror availability but directly try to fetch SHA256.sig. Thatajacoutot1-10/+3
2017-10-12Simplify and explicitely state when we cannot access our mirror.ajacoutot1-6/+5
2017-10-12Loosen up installurl(5) check: it's OK to have a trailing slash.ajacoutot1-2/+2
2017-10-12Better error if installurl points to a local directory.ajacoutot1-3/+4
2017-10-12Don't return 1 if the syspatch release directory does not exist; it justajacoutot1-4/+6
2017-08-29While failing to relink the kernel is not fatal to syspatch, we still needajacoutot1-14/+26
2017-08-29Fix logic to not error out.ajacoutot1-3/+3
2017-08-28Inform the user when we are relinking the kernel.ajacoutot1-2/+8
2017-08-22Add support for KARL:ajacoutot2-77/+33
2017-08-17Set the automatically generated device variables as local to preventajacoutot1-3/+4
2017-08-17Fix checkfs() when running an MP kernel.ajacoutot1-7/+11
2017-08-17Honor TMPDIR if it is set to prevent erroring in some setup.ajacoutot1-2/+2
2017-08-02Only run mtree if we install a patch.ajacoutot1-4/+6