pmaports-a71/main/postmarketos-initramfs
Caleb Connolly 897dd2b832
postmarketos-initramfs: fix device mapper path on android devices with subpartitions (MR 5632)
On android devices using subpartitions, during boot we set up the
subpartitions so the rootfs is /dev/mapper/userdata2, however during
resize_root_partition() we resolve the original block device (e.g. sda17
on the op6) and re-create the device mapper. This results in the cached
rootfs path being wrong (since after resize it's created as
/dev/mapper/sda17p2).

Cache the subpartition source device so we re-create it to be
consistent. Otherwise the filesystem resize fails and the device drops
to debug shell on first boot.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-09-27 23:43:14 +02:00
..
00-default.modules postmarketos-initramfs: debug-shell: buffyboard (MR 5048) 2024-06-26 17:32:33 -07:00
00-initramfs-base.dirs
00-initramfs-base.files Revert "main/postmarketos-initramfs: make sure to use modprobe from kmod (MR 5543)" 2024-08-30 12:17:24 +02:00
00-initramfs-extra-base.files main/postmarketos-initramfs: don't hard-code libz path (MR 5610) 2024-09-26 04:19:16 -07:00
APKBUILD postmarketos-initramfs: fix device mapper path on android devices with subpartitions (MR 5632) 2024-09-27 23:43:14 +02:00
init_functions.sh postmarketos-initramfs: fix device mapper path on android devices with subpartitions (MR 5632) 2024-09-27 23:43:14 +02:00
init.sh postmarketos-initramfs: probe libcomposite + make myself maintainer (MR 5328) 2024-07-23 17:15:06 -07:00
unudhcpd.conf