diff options
author | Ricardo Salveti <ricardo@foundries.io> | 2025-08-18 21:56:05 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-21 10:29:56 +0100 |
commit | 34df6b71b9f997229568429815530820e3f4216d (patch) | |
tree | cba6df2515e315f96f4e55f6ddd3b40238fe936a /scripts/lib/devtool/export.py | |
parent | 81d31fbd6a7880aa993d66ade1728470c7c4e5cd (diff) | |
download | poky-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/export.py')
0 files changed, 0 insertions, 0 deletions