From afd18c7578635e9dd60c5705efd5ad53d78a117e Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Fri, 3 Nov 2017 11:45:54 +0100 Subject: Share /run directory between initramfs and system image to communicate ostree-booted file --- recipes-sota/ostree-initrd/files/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-sota') diff --git a/recipes-sota/ostree-initrd/files/init.sh b/recipes-sota/ostree-initrd/files/init.sh index 0b0693d..d7e0429 100644 --- a/recipes-sota/ostree-initrd/files/init.sh +++ b/recipes-sota/ostree-initrd/files/init.sh @@ -67,7 +67,7 @@ ostree-prepare-root /sysroot # move mounted devices to new root cd /sysroot -for x in dev proc; do +for x in dev proc run; do log_info "Moving /$x to new rootfs" mount -o move "/$x" "$x" done -- cgit v1.2.3-54-g00ecf