summaryrefslogtreecommitdiff
path: root/usr.sbin/syspatch
AgeCommit message (Expand)Author
2016-11-15Double the required size to make sure we have enough space for install(1) safeAntoine Jacoutot
2016-11-14Check for available space before installing a patch.Antoine Jacoutot
2016-11-14uniq -> sort -uAntoine Jacoutot
2016-11-12Improve the cleanup error handling to make sure the exit code isAlexander Hall
2016-11-10Extend documentation a bit. It'll probably need some adjustments soon.Antoine Jacoutot
2016-11-10Simplify checkfs() and fix read-only/remote fs detection.Antoine Jacoutot
2016-11-10Extend mtree(8) comment.Antoine Jacoutot
2016-11-10Remove redundant check.Antoine Jacoutot
2016-11-10Create the bsd rollback kernel in create_rollback() (it is contained inAntoine Jacoutot
2016-11-08syspatch-60-001_foobar -> syspatch60-001_foobar to match base system sets name.Antoine Jacoutot
2016-11-08Simplify.Antoine Jacoutot
2016-11-08Few fixes and consistency.Antoine Jacoutot
2016-11-06Rework the cleanup trap handling using the EXIT trap;Alexander Hall
2016-11-04Be verbose when PATCH_PATH is not set (that is temporary until we agree onAntoine Jacoutot
2016-11-04One more XXX.Antoine Jacoutot
2016-11-04Zap extra space.Antoine Jacoutot
2016-11-04Make sure our filesystems are local and not read-only.Antoine Jacoutot
2016-11-04Use 'rm -f' to remove the rollback tarball if we have an errir; it mayAntoine Jacoutot
2016-11-03Missing local.Antoine Jacoutot
2016-11-03rollback -> revert where it makes sense.Antoine Jacoutot
2016-11-03XXX match with installed sets (comp, x...)?Antoine Jacoutot
2016-11-03Hardlinks are properly handled; for the rest, we'll see if we need to careAntoine Jacoutot
2016-11-03Make sure PATCH_PATH is an URL that ftp(1) can cope with.Antoine Jacoutot
2016-11-03Merge ls_avail() into ls_missing(), it's only used once.Antoine Jacoutot
2016-11-03Use hw.ncpufound.Antoine Jacoutot
2016-11-03Simplify for loops; prompted by a comment from rpe@Antoine Jacoutot
2016-11-02Be verbose when reverting a patch.Antoine Jacoutot
2016-11-01Simplify.Antoine Jacoutot
2016-11-01Tap SIGINT while install(1)ing so that we can properly rollback and notAntoine Jacoutot
2016-11-01Add an XXX.Antoine Jacoutot
2016-11-01Only run sp_cleanup() when applying or reverting a patch (needs root).Antoine Jacoutot
2016-11-01Also remove non matching release rollback kernel.Antoine Jacoutot
2016-11-01Add a cleanup function to remove non matching release content fromAntoine Jacoutot
2016-11-01Simplify fetch_and_verify(), no need for a loop here.Antoine Jacoutot
2016-11-01Add a few error messages so we know where we fail.Antoine Jacoutot
2016-11-01install_patch -> apply_patch to remove confusion with install_kernel andAntoine Jacoutot
2016-11-01We don't want to run on -stable (i.e. locally built release) but only onAntoine Jacoutot
2016-09-11First compute the variables, then set them readonly. So that we can catchAntoine Jacoutot
2016-09-11Indent cleanup.Antoine Jacoutot
2016-09-10Drop syspatch_trap, it's simple enough for trap no needing its own function.Antoine Jacoutot
2016-09-10apply_patches should not take any arguments.Antoine Jacoutot
2016-09-07Minimal man page.Antoine Jacoutot
2016-09-07Don't fetch all patches at once but instead fetch+verify+patch one by one.Antoine Jacoutot
2016-09-07Don't put bsd.mp twice in the GENERIC.MP rollback tarball.Antoine Jacoutot
2016-09-07syspatch goal is not to act as a package manager but to sync the system to theAntoine Jacoutot
2016-09-06Drop useless variable and check.Antoine Jacoutot
2016-09-06Greatly simplify patch type detection and make things more generic.Antoine Jacoutot
2016-09-06Sort and set readonly global vars.Antoine Jacoutot
2016-09-05Make sure the file exists before putting it in the rollback tarball.Antoine Jacoutot
2016-09-05Missing local.Antoine Jacoutot