-
Notifications
You must be signed in to change notification settings - Fork 0
Scripts used to update binary files for upgrade of OpenBSD-current snapshots
License
captvic/OpenBSD-Snapshot-updates
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
* Readme This is a set of scripts to make updating to the latest OpenBSD snapshot a little easier. One fetches the latest snapshot binaries, others are used before and after upgrade for system setup. Please edit settings.config for your target ARCH and VERSION All take the option -h for more information. get_snapshot.sh This script downloads the necessary files to update your system to the latest OpenBSD snapshot. Files are downloaded from the mirror set in OPENBSD_MIRROR, and their checksums are verified. Note that SHA256 is always downloaded from ftp.openbsd.org, and that the script will stop as soon as any checksum does not match. pre_upgrade.sh This script asks to do several things you probably don't want to do before upgrading, but might. In order: 1) Move the bsd.rd in the appropriate snapshot dir to /. A backup is made of bsd.rd 2) Make a backup of /etc in a dated directory. 3) Delete X11 Modules. post_upgrade.sh This is to be run after performing the upgrade. The following may be done: 1) Perform a sysmerge using etcXX.tgz and xetcXX.tgz from in download_dir, but defaults to today's snapshot directory 2) Use pkg_add to update all packages 3) Use lynx to view http://www.openbsd.org/faq/current.html 4) Backup ports/distfiles into the backup directory 5) Fetch latest ports.tar.gz 6) rm /usr/ports/* 7) Untar new ports.tar.gz in place 8) Restore the ports distfiles binary_update.sh Use this when you do not have access to the console of the machine. It updates the entire system in place, and then reboots. It follows the recommendations from the upgrade FAQ. Note that this is not the recommended upgrade path. include.sh This is included by other scripts to minimize redundant code. * Licensing These scripts are available under a standard BSD license contained in LICENSE.
About
Scripts used to update binary files for upgrade of OpenBSD-current snapshots
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published