sysupgrade utility added to OpenBSD-CURRENT for automatic upgrade

In OpenBSD added utility sysupgrade, designed to automatically update the system to a new release or snapshot of the CURRENT branch.

Sysupgrade downloads the files necessary for the upgrade, checks them with mean, copies bsd.rd (a special ramdisk that runs entirely from RAM, used for installation, upgrade, and system recovery) to bsd.upgrade and initiates a system reboot. The loader, having detected the presence of bsd.upgrade, starts its automatic loading (can be canceled by the user) and automatic updating of the system to the previously loaded version.

Already, sysupgrade can be used to automatically upgrade to the latest daily CURRENT snapshots, starting with OpenBSD 6.6 it is expected to be used for release-to-release upgrades. Before the advent of sysupgrade, similar actions had to be done manually or automated independently.

To install security updates and bug fixes on stable releases of OpenBSD, it is still suggested to use the utility syspatch, which applies binary patches with fixes to the base system.

Source: opennet.ru

Add a comment