summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syspatch/syspatch.sh (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make sure /var/syspatch/$OSREV is not on a read-only mount-point when doingajacoutot2016-11-221-2/+2
* Allow passing an explicit return code to sp_err() in case we don't want to exitajacoutot2016-11-221-21/+24
* Use the same basename for the rollback tarball as the original patch.sig.ajacoutot2016-11-211-15/+21
* Tweak comment. Reverse cmp logic while here.ajacoutot2016-11-211-3/+3
* Re-add the root user checks in the quirks; that part is to be removed soon.ajacoutot2016-11-171-1/+5
* Drop priv. to the _pkgfetch (for now) user when running ftp(1) and signify(1).ajacoutot2016-11-171-24/+29
* Merge comments altogether, it's easier to understand this way.ajacoutot2016-11-161-11/+9
* If we install a new kernel, add /bsd twice (for size checking) when:ajacoutot2016-11-161-1/+9
* /bsd.rollbackXX -> bsd.syspatchXX to make it more obvious where it comes fromajacoutot2016-11-161-11/+14
* checkfs: ignore nonexistent files and extend comment. There's actually no needajacoutot2016-11-151-6/+14
* Double the required size to make sure we have enough space for install(1) safeajacoutot2016-11-151-4/+4
* Check for available space before installing a patch.ajacoutot2016-11-141-5/+14
* uniq -> sort -uajacoutot2016-11-141-2/+4
* Improve the cleanup error handling to make sure the exit code ishalex2016-11-121-3/+3
* Simplify checkfs() and fix read-only/remote fs detection.ajacoutot2016-11-101-6/+6
* Extend mtree(8) comment.ajacoutot2016-11-101-2/+3
* Remove redundant check.ajacoutot2016-11-101-2/+2
* Create the bsd rollback kernel in create_rollback() (it is contained inajacoutot2016-11-101-5/+5
* syspatch-60-001_foobar -> syspatch60-001_foobar to match base system sets name.ajacoutot2016-11-081-12/+23
* Few fixes and consistency.ajacoutot2016-11-081-16/+13
* Rework the cleanup trap handling using the EXIT trap;halex2016-11-061-7/+7
* Be verbose when PATCH_PATH is not set (that is temporary until we agree onajacoutot2016-11-041-4/+3
* One more XXX.ajacoutot2016-11-041-1/+2
* Zap extra space.ajacoutot2016-11-041-2/+2
* Make sure our filesystems are local and not read-only.ajacoutot2016-11-041-4/+18
* Use 'rm -f' to remove the rollback tarball if we have an errir; it mayajacoutot2016-11-041-2/+4
* Missing local.ajacoutot2016-11-031-2/+2
* rollback -> revert where it makes sense.ajacoutot2016-11-031-3/+3
* XXX match with installed sets (comp, x...)?ajacoutot2016-11-031-1/+2
* Hardlinks are properly handled; for the rest, we'll see if we need to careajacoutot2016-11-031-3/+2
* Make sure PATCH_PATH is an URL that ftp(1) can cope with.ajacoutot2016-11-031-5/+2
* Merge ls_avail() into ls_missing(), it's only used once.ajacoutot2016-11-031-12/+8
* Use hw.ncpufound.ajacoutot2016-11-031-3/+2
* Simplify for loops; prompted by a comment from rpe@ajacoutot2016-11-031-10/+7
* Be verbose when reverting a patch.ajacoutot2016-11-021-1/+2
* Simplify.ajacoutot2016-11-011-8/+4
* Tap SIGINT while install(1)ing so that we can properly rollback and notajacoutot2016-11-011-31/+38
* Add an XXX.ajacoutot2016-11-011-1/+2
* Only run sp_cleanup() when applying or reverting a patch (needs root).ajacoutot2016-11-011-6/+8
* Also remove non matching release rollback kernel.ajacoutot2016-11-011-3/+9
* Add a cleanup function to remove non matching release content fromajacoutot2016-11-011-3/+19
* Simplify fetch_and_verify(), no need for a loop here.ajacoutot2016-11-011-11/+11
* Add a few error messages so we know where we fail.ajacoutot2016-11-011-10/+15
* install_patch -> apply_patch to remove confusion with install_kernel andajacoutot2016-11-011-26/+26
* We don't want to run on -stable (i.e. locally built release) but only onajacoutot2016-11-011-5/+7
* First compute the variables, then set them readonly. So that we can catchajacoutot2016-09-111-7/+8
* Indent cleanup.ajacoutot2016-09-111-23/+22
* Drop syspatch_trap, it's simple enough for trap no needing its own function.ajacoutot2016-09-101-10/+8
* apply_patches should not take any arguments.ajacoutot2016-09-101-6/+7
* Don't fetch all patches at once but instead fetch+verify+patch one by one.ajacoutot2016-09-071-5/+7