Make sure the user has at least 256 MiB set as their installation size,
refuse to start the installation otherwise. The default was changed in
2021, 03e9fb05 ("pmb.config.init.boot_size: set to 256 MiB (MR 2037)").
If the user ran "pmbootstrap init" before that commit, the pmbootstrap
config will have the old default set. It is very annoying when you do an
installation with it and only realize it when you run into errors, e.g.
while upgrading. I had that when testing the upgrade to the v23.12
release and also adjusted postmarketos-release-upgrade to warn if the
boot partition is smaller than expected.
There might be. If that is the case, people will complain and we can
re-iterate on this patch (maybe add a deviceinfo option for min.
recommended boot partition size, and let it default to 256 MiB?).
On the other hand, there for sure are still installs that have the old
default configured, and may run into problems because of it. So I think
adding this patch worth it.
pmbootstrap/patches/.build.yml: SUCCESS in 18m25s
[install: throw error if boot_size is too small][0] from [Oliver Smith][1]
[0]: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/47511
[1]: mailto:ollieparanoid@postmarketos.org
✓ #1111012 SUCCESS pmbootstrap/patches/.build.yml https://builds.sr.ht/~postmarketos/job/1111012