#
44809ee6 |
| 10-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Create the bsd rollback kernel in create_rollback() (it is contained in the rollback tarball anyway but that's impractical if the new bsd does not boot ;-)). While here, make sure /bsd actually exist
Create the bsd rollback kernel in create_rollback() (it is contained in the rollback tarball anyway but that's impractical if the new bsd does not boot ;-)). While here, make sure /bsd actually exists before saving it.
show more ...
|
#
5f887879 |
| 08-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
syspatch-60-001_foobar -> syspatch60-001_foobar to match base system sets name.
Should be transparent to the early testers as long as you have the most recent syspatch.sh checkout from cvs(1).
|
#
16b1b12e |
| 08-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Few fixes and consistency.
|
#
a5e8cfb7 |
| 06-Nov-2016 |
halex <halex@openbsd.org> |
Rework the cleanup trap handling using the EXIT trap;
trap 'cleanup; goes; here' EXIT trap exit HUP INT TERM ERR FOO BAR BAZ
This makes sure the cleanup is always done (unless we exec), and pre
Rework the cleanup trap handling using the EXIT trap;
trap 'cleanup; goes; here' EXIT trap exit HUP INT TERM ERR FOO BAR BAZ
This makes sure the cleanup is always done (unless we exec), and preserves the exit code, such as SIGINT => 130.
Also trap less signals. Special signals are special.
tested and OK ajacoutot@
show more ...
|
#
2044ca75 |
| 04-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Be verbose when PATCH_PATH is not set (that is temporary until we agree on a way to point to a syspatch mirror).
|
#
b96b0db8 |
| 04-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
One more XXX.
|
#
eb65945f |
| 04-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Zap extra space.
|
#
0b27eea9 |
| 04-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Make sure our filesystems are local and not read-only.
|
#
4ab799a6 |
| 04-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Use 'rm -f' to remove the rollback tarball if we have an errir; it may be because we have a read-only /var.
|
#
5ef88ab9 |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Missing local.
|
#
3cab49e4 |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
rollback -> revert where it makes sense.
|
#
6ca69cec |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
XXX match with installed sets (comp, x...)?
|
#
4db5699e |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Hardlinks are properly handled; for the rest, we'll see if we need to care or not (XXX).
|
#
7510ef9e |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Make sure PATCH_PATH is an URL that ftp(1) can cope with.
|
#
8c47c999 |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Merge ls_avail() into ls_missing(), it's only used once. While here, cope with a missing index.txt or other ftp(1) error.
|
#
511d78b8 |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Use hw.ncpufound.
|
#
e79f254b |
| 03-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Simplify for loops; prompted by a comment from rpe@
|
#
7f857022 |
| 02-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Be verbose when reverting a patch.
committing now to please espie@
|
#
4dca927b |
| 01-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Simplify.
|
#
2ae78c74 |
| 01-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Tap SIGINT while install(1)ing so that we can properly rollback and not be left in an inconsistent state.
|
#
895921c8 |
| 01-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Add an XXX.
|
#
6886468e |
| 01-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Only run sp_cleanup() when applying or reverting a patch (needs root).
|
#
0190bdc5 |
| 01-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Also remove non matching release rollback kernel. Temporary unhook the cleanup function during tests.
|
#
d145eff1 |
| 01-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Add a cleanup function to remove non matching release content from /var/syspatch and the rollback kernel if all kernel syspatches have been reverted.
While here, make sure _RELINT and _REL are decla
Add a cleanup function to remove non matching release content from /var/syspatch and the rollback kernel if all kernel syspatches have been reverted.
While here, make sure _RELINT and _REL are declared properly.
show more ...
|
#
1855b003 |
| 01-Nov-2016 |
ajacoutot <ajacoutot@openbsd.org> |
Simplify fetch_and_verify(), no need for a loop here.
|