pmaports/main/postmarketos-mkinitfs
Oliver Smith e8c76175f6
main/postmarketos-mkinitfs: add pmOS_inst_boot (MR 1820)
Find partitions with the label "pmOS_inst_boot" too, and prefer using
them as boot partition over ones with label "pmOS_boot". (I'd use
"pmOS_install_boot", but there is a character limit in the label.)

Without this, the initramfs may choose the wrong boot partition if
postmarketOS is available once as install OS (on device installer) on
the SD card and once on the eMMC (installed).

I just had this problem with QEMU when simulating the install from SD to
eMMC use case with pmbootstrap qemu --second-storage. The pmOS initramfs
scripts would detect the previously created eMMC boot partition as the
proper one and mount it. It would boot into the right root partition,
because that already has a different label (pmOS_install instead of
pmOS_root), but because the wrong boot partition is already mounted,
during the install it would not be possible to run mkfs on it.
2021-01-27 16:12:27 +01:00
..
00-default.modules main/postmarketos-mkinitfs: modules from files (!1123) 2020-04-12 00:56:22 +02:00
APKBUILD main/postmarketos-mkinitfs: add pmOS_inst_boot (MR 1820) 2021-01-27 16:12:27 +01:00
init.sh.in main/postmarketos-mkinitfs: allow splash override (MR 1776) 2020-12-03 11:30:25 +03:00
init_functions.sh main/postmarketos-mkinitfs: add pmOS_inst_boot (MR 1820) 2021-01-27 16:12:27 +01:00
mkinitfs.sh main/postmarketos-mkinitfs: add mediatek header in mkinitfs (MR 1483) 2020-08-22 10:38:53 +02:00
mkinitfs_functions.sh main/mkinitfs: Pass signing flag to blobpack (MR 1803) 2020-12-28 15:04:07 +01:00
mkinitfs_test.sh main/postmarketos-mkinitfs: modules from files (!1123) 2020-04-12 00:56:22 +02:00
postmarketos-mkinitfs.trigger main/postmarketos-mkinitfs: add new trigger for osk-sdl (MR 1563) 2020-09-19 17:14:20 +03:00