pmbootstrap-meow/pmb/install
Oliver Smith e223fd03eb
install: throw error if boot_size is too small
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.

Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20231208222714.4601-1-ollieparanoid@postmarketos.org%3E
2024-01-09 16:55:39 +01:00
..
__init__.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
_install.py install: throw error if boot_size is too small 2024-01-09 16:55:39 +01:00
blockdevice.py install: rename --sdcard arg to --disk 2023-11-19 20:27:37 +01:00
format.py install: rename --sdcard arg to --disk 2023-11-19 20:27:37 +01:00
losetup.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
partition.py install: rename --sdcard arg to --disk 2023-11-19 20:27:37 +01:00
recovery.py treewide: rename _system to _rootfs in various places 2023-06-12 08:46:22 +02:00
ui.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00