pmbootstrap-meow/pmb/parse
Stephan Gerhold e9038e50d6
pmb/install: Add option to create single combined boot/root partition
With recent rework in postmarketos-initramfs, we no longer need to mount
the /boot partition in the initramfs (assuming initramfs-extra is not
used). On devices that boot without accessing the boot file system (e.g.
Android boot images, fastboot, ...), that makes it possible to install
postmarketOS on a single (potentially encrypted) partition that contains
both root (/) and /boot files.

This avoids the extra complexity of the subpartition setup we usually use
on such devices, and also avoids having to flash two partitions (when using
--split to avoid the subpartitions).

Add a --single-partition option to pmbootstrap install that allows
installing postmarketOS in this mode. For now this is just an option that
must be selected explicitly, in the future we could choose to make this the
default for Android-based devices with a large enough boot partition.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2512
2025-04-11 17:35:20 +02:00
..
__init__.py pmb: Use explicit re-exports (MR 2545) 2025-02-23 11:40:44 +01:00
_apkbuild.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
apkindex.py pmb.parse.apkindex: Improve parse_add_block() type hint (MR 2515) 2025-02-27 00:28:16 +01:00
arguments.py pmb/install: Add option to create single combined boot/root partition 2025-04-11 17:35:20 +02:00
binfmt_info.py pmb: Add more type hints (MR 2490) 2024-12-19 10:09:22 +00:00
bootimg.py pmb.parse.bootimg: Initialise chroot before installing packages in bootimg() (MR 2526) 2025-01-19 13:54:31 +01:00
cpuinfo.py Run ruff check --fix (MR 2357) 2024-07-16 00:26:35 +02:00
depends.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
deviceinfo.py pmb/install: Add option to create single combined boot/root partition 2025-04-11 17:35:20 +02:00
kconfig.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00
kconfigcheck.py kconfig check: move rules to kconfigcheck.toml (MR 2333) 2024-06-30 18:04:31 +02:00
version.py pmb.parse.version: Use _ for "value" variable in validate() (MR 2516) 2025-01-02 16:45:01 +01:00