diff --git a/pmb/install/format.py b/pmb/install/format.py index 9f69a278..45cdf555 100644 --- a/pmb/install/format.py +++ b/pmb/install/format.py @@ -8,6 +8,9 @@ import pmb.chroot def format_and_mount_boot(args, boot_label): """ :param boot_label: label of the root partition (e.g. "pmOS_boot") + + When adjusting this function, make sure to also adjust + ondev-prepare-internal-storage.sh in postmarketos-ondev.git! """ mountpoint = "/mnt/install/boot" device = "/dev/installp1" diff --git a/pmb/install/partition.py b/pmb/install/partition.py index 35353a30..2498e6cf 100644 --- a/pmb/install/partition.py +++ b/pmb/install/partition.py @@ -50,6 +50,9 @@ def partition(args, size_boot, size_reserve): * /dev/installp2: root (or reserved space) * /dev/installp3: (root, if reserved space > 0) + When adjusting this function, make sure to also adjust + ondev-prepare-internal-storage.sh in postmarketos-ondev.git! + :param size_boot: size of the boot partition in MiB :param size_reserve: empty partition between root and boot in MiB (pma#463) """