From: Florian Obser Subject: Re: sysupgrade -S siteXY.tgz To: tech@openbsd.org Date: Sat, 13 Jun 2026 10:25:04 +0200 On 2026-06-13 03:12 -04, obsd@mulh.net wrote: > 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 > Due to the Church-Turing Thesis, it comes at no surprise that this can be done, you effectively tell us we can run the commands from stsp's patch by hand. But why stop there? Just boot bsd.rd and hit "s". Then you can mount your partitions by hand, configure the network and fetch, verify and install the sets. Once done you can use ed(1) to carefully type in the contents of siteXX.tgz. While this sounds like hours of fun, I can also see why some form of automation might appeal to some individuals. -- In my defence, I have been left unsupervised.