Hello,
Le 30/04/2020 à 10:07, Anders Andersson a écrit :
On Thu, Apr 30, 2020 at 6:02 AM James Jerkins
<j...@jamesjerkinscomputer.com> wrote:
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.
Right. This question comes up again and again. IMHO, there are only two
sensible ways to solve it:
a) Removing sets selection from the installer
b) Supporting an upgrade of the sets already installed.
a) seems the best thing, since selection is not officially supported
(why this was added to the installer?) and brings only refined ways to
shoot yourself in the foot.
The total size of the sets is only 774 MB uncompressed which is not
really that big. The absolute requirement is 291 MB (base). Going lower
is certainly possible but is better served by derived OS who pursue
their own goal [1].
Just because you can do something doesn't mean you have to do it.
Leaving the choice is sometimes a bad idea.
[1]
https://en.wikipedia.org/wiki/List_of_BSD_operating_systems#OpenBSD-based
Regards,
--
Stéphane Aulery