pmaports/main/postmarketos-initramfs
Caleb Connolly e0fcfb74e2
main/postmarketos-initramfs: use mdev properly (MR 4204)
Drop in mdev.conf and the /lib/mdev/persistent-storage script, these
cause /dev/disk/by-* to be populated in the ramdisk, making it
possible to do look up partition by-label and by-partlabel for free,
compared to findfs which can take some time.

As a first optimisation based on this, check for some partitions using
these paths and prioritise them when looking for subpartitions. Drop the
first find_boot_partition call as it doesn't really save time over the
call in the while loop.

The mdev config also handles setting up /dev/null, /dev/random, etc, so
these don't have to be done manually.
2023-09-07 20:33:55 +01:00
..
00-default.modules postmarketos-mkinitfs: upgrade to 2.0 (MR 3895) 2023-03-08 21:35:04 -08:00
00-initramfs-base.dirs main/postmarketos-initramfs: switch_root with /dev (MR 3230) (MR 4204) 2023-09-07 20:33:55 +01:00
00-initramfs-base.files main/postmarketos-initramfs: use mdev properly (MR 4204) 2023-09-07 20:33:55 +01:00
00-initramfs-extra-base.files main/postmarketos-initramfs: switch_root with /dev (MR 3230) (MR 4204) 2023-09-07 20:33:55 +01:00
APKBUILD main/postmarketos-initramfs: use mdev properly (MR 4204) 2023-09-07 20:33:55 +01:00
init.sh main/postmarketos-initramfs: use mdev properly (MR 4204) 2023-09-07 20:33:55 +01:00
init_functions.sh main/postmarketos-initramfs: use mdev properly (MR 4204) 2023-09-07 20:33:55 +01:00
mdev.conf main/postmarketos-initramfs: use mdev properly (MR 4204) 2023-09-07 20:33:55 +01:00
unudhcpd.conf main/postmarketos-initramfs: support custom IP addresses for USB net (MR 3349) 2023-08-23 13:06:15 -07:00