main/postmarketos-mkinitfs: switch_root with /dev
Mount /dev (and /run) in initramfs so util-linux switch_root can move the mounts over to the new sysroot before changing root.
BusyBox switch_root doesn't even attempt to move anything so use util-linux's switch_root for this.
Fixes #1410 (closed)
@craftyguy With this in rootfs /dev/mapper/root
does exist but udisksctl dump
still has CryptoBackingDevice
as /
and unfortunately #1460 (closed) also still happens
/org/freedesktop/UDisks2/block_devices/mmcblk0p2:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'