On Thu, Apr 30, 2020 at 6:02 AM James Jerkins <j...@jamesjerkinscomputer.com> wrote: > > Hello, > > This patch adds two new options to sysupgrade. The first option is for small > box systems like an APU system that only has the base and manual sets > installed. The second option is for headless systems without X11 like > servers. I have tested this patch from the 6.5 release to 6.6 release to > current for both the minimal and no X11 options. In order to test, I did > remove the ftp -N option which is not present in the 6.5 or 6.6 releases. I > also tested sysupgrade without invoking either new option from 6.5 to 6.6 to > current for regression. All of these tests resulted in a successful upgrade. > > I also repeated the above tests from a full install to minimal and base > installs and, of course, the system is broken after such an upgrade. While it > is possible to check for the presence of clang or xinit to guess if the > requested upgrade is safe, I believe it would still only be a guess that > couldn't eliminate all the creative ways someone could break their > installation. If anyone has a suggestion for how to address this problem I am > willing to work on it and submit an updated patch. > > Thank you to all the OpenBSD developers for the incredible work you do every > day on OpenBSD and for sharing your work.
I recently bought an APU with the smallest disk I could find (16 GB mSATA), I don't remember the full install of all sets taking more than 10%. No need to remove stuff. I don't really see why a system-wide tool should have several options for hardcoded subsets of some of the possible ways to create a non-standard installation, especially when using these options will break an otherwise working setup. IF there is such an option, surely it should take a list of sets that you have installed? Especially when I've read here that there is a wish for some of the devs that the option of selecting subsets should probably just be removed.