summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/runqemu.py
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@foundries.io>2025-08-18 21:56:05 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-21 10:29:56 +0100
commit34df6b71b9f997229568429815530820e3f4216d (patch)
treecba6df2515e315f96f4e55f6ddd3b40238fe936a /scripts/lib/devtool/runqemu.py
parent81d31fbd6a7880aa993d66ade1728470c7c4e5cd (diff)
downloadpoky-34df6b71b9f997229568429815530820e3f4216d.tar.gz
initramfs-framework: mount /run and move to rootfs before switch_root
Mount /run as tmpfs during early init and include it in the set of mounts moved to $ROOTFS_DIR prior to exec switch_root. Having /run available early lets initramfs modules stamp state that can later influence systemd service jobs, since systemd will reuse the mount point instead of creating a new one during boot. This is particularly useful with ostree, as it uses /run/ostree-booted as way to describe that the rootfs comes from an ostree deployment. (From OE-Core rev: 3a4bd7ddefbf5b412a2b4031d491f5a50f1908cd) Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions