Re: sysupgrade -S siteXY.tgz

[email protected]
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
On 2026-06-12 17:01:11, Stefan Sperling wrote:
> At present, a site set with custom files must be uploaded to the same
> mirror which base sets are fetched from. Else the site set is not
> available during installation and upgrades. This makes it a bit
> difficult to use official installation mirrors with site sets during
> upgrades since a custom mirror is required to serve the site set from.

Using the current sysupgrade (without patch) you could do:

1)  syspatch -ns

This will fetch and verify the installation files but stops before rebooting.

2)  cp siteXX.tgz file to /home/_sysupgrade/
    echo 'Set name(s) = site*' >> /auto_upgrade.conf

Or use ftp to download your siteXX.tgz file from a website to /home/_sysupgrade/.
The echo line adds to the response file to include siteXX.tgz during install.

3)  reboot

Restart the VM or computer and let sysupgrade (bsd.upgrade) continue upgrade.
If your siteXX.tgz includes a /upgrade.site script, that'll run too.

My test VM just boots the CD image install79.iso, I select (A)utoinstall.
It fetches the response file and allocation template from a local web server.
bsd.rd installs openbsd sets from CD, installs siteXX.tgz from NFS share.
Runs install.site at end of regular installation to do my local configurations.
Now if I could just figure out how to get vmd to boot CD when both cd and
(non-blank) disk are both configured on the VM I'd be happier.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.