summaryrefslogtreecommitdiff
path: root/usr.sbin/syspatch/syspatch.sh
AgeCommit message (Expand)Author
2018-05-09Remove empty syspatch dir if we fail to extract.Antoine Jacoutot
2018-04-26Don't hide stderr; starting with 6.4 there will always be an SHA256.sig.Antoine Jacoutot
2018-03-10Allow fetching syspatches from ftp.Antoine Jacoutot
2017-12-29Prevent syspatch from running and throw an error out if reorder_kernel isAntoine Jacoutot
2017-11-09/usr/share/compile -> /usr/share/relink/kernelAntoine Jacoutot
2017-10-13Don't check for mirror availability but directly try to fetch SHA256.sig. ThatAntoine Jacoutot
2017-10-12Simplify and explicitely state when we cannot access our mirror.Antoine Jacoutot
2017-10-12Loosen up installurl(5) check: it's OK to have a trailing slash.Antoine Jacoutot
2017-10-12Better error if installurl points to a local directory.Antoine Jacoutot
2017-10-12Don't return 1 if the syspatch release directory does not exist; it justAntoine Jacoutot
2017-08-29While failing to relink the kernel is not fatal to syspatch, we still needAntoine Jacoutot
2017-08-29Fix logic to not error out.Antoine Jacoutot
2017-08-28Inform the user when we are relinking the kernel.Antoine Jacoutot
2017-08-22Add support for KARL:Antoine Jacoutot
2017-08-17Set the automatically generated device variables as local to preventAntoine Jacoutot
2017-08-17Fix checkfs() when running an MP kernel.Antoine Jacoutot
2017-08-17Honor TMPDIR if it is set to prevent erroring in some setup.Antoine Jacoutot
2017-08-02Only run mtree if we install a patch.Antoine Jacoutot
2017-08-01For the kernel binpatches, only deal with /bsd. On MP machines we do haveAntoine Jacoutot
2017-07-30If syspatch is updating itself, exit after installing the new syspatch toAntoine Jacoutot
2017-07-30`-R' requires root privileges.Antoine Jacoutot
2017-07-22Cleanup previous release patches and backup kernel _before_ applying newAntoine Jacoutot
2017-07-04Detect upfront whether we have a particular set installed and if not, do *not*Antoine Jacoutot
2017-06-09Drop uneeded return from rollback_patch().Antoine Jacoutot
2017-06-09/etc/mtree/BSD.x11.dist is part of base, not X; so check forAntoine Jacoutot
2017-05-27When running from cron, the ftp(1) progress bar is not shown; that's all fineAntoine Jacoutot
2017-05-26Don't try to revert the same patch in a loop if it returns an error.Antoine Jacoutot
2017-05-26Fix logic.Antoine Jacoutot
2017-05-24Preserve the modification time when install(1)ing.Antoine Jacoutot
2017-05-24Don't fill up /tmp when installing or reverting multiple patches at once.Antoine Jacoutot
2017-05-24Also trap INT when reverting a patch.Antoine Jacoutot
2017-05-23Hide sh(1) error message when /etc/installurl does not exist; we alreadyAntoine Jacoutot
2017-05-23Only install /bsd.mp on SP machines if it's already there (a defaultAntoine Jacoutot
2017-05-23Shorten varname.Antoine Jacoutot
2017-05-18Don't pass `-m' to ftp(1). Instead let isatty() decide whether we display theAntoine Jacoutot
2017-05-17Tweak remote fs check.Antoine Jacoutot
2017-05-12Make sure we have a valid URL in /etc/installurl to prevent ending up stuck inAntoine Jacoutot
2017-05-08Only test the mirror if it's remote (and not a local directory).Antoine Jacoutot
2017-05-05Add a `-R' switch that reverts all patches.Antoine Jacoutot
2017-05-04Expand comment and bump copyright while here.Antoine Jacoutot
2017-05-03Output explicit error messages for:Antoine Jacoutot
2017-05-03- Don't make an empty syspatch/ repo an error; having no available patchAntoine Jacoutot
2017-04-30Tweak error message when running on an unsupported release.Antoine Jacoutot
2017-04-04Also remove non syspatch hidden files/dirs.Antoine Jacoutot
2017-03-31Be quiet in case /var/syspatch/ is empty and that there's no remote sigAntoine Jacoutot
2017-02-13Reverse output when installing a patch; it's more logical (first get, thenAntoine Jacoutot
2017-01-30Drop empty line.Antoine Jacoutot
2017-01-26Remove unused _REL variableRobert Peichaer
2017-01-26Move setting _OSrev to immediately after verifying _KERNV and exitRobert Peichaer
2017-01-26No need to escape '.' in shell patterns - it has no special meaning.Robert Peichaer