summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-11-03 11:45:54 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-11-03 11:45:54 +0100
commitafd18c7578635e9dd60c5705efd5ad53d78a117e (patch)
tree7c1d3e75e77e3ad31cf6d0a5e5b6798bd73bb354 /recipes-sota
parent6b83fd2c704ad8b528b80ac036abab1e94bb982b (diff)
downloadmeta-updater-afd18c7578635e9dd60c5705efd5ad53d78a117e.tar.gz
Share /run directory between initramfs and system image to communicate ostree-booted file
Diffstat (limited to 'recipes-sota')
-rw-r--r--recipes-sota/ostree-initrd/files/init.sh2
1 files changed, 1 insertions, 1 deletions
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
67 67
68# move mounted devices to new root 68# move mounted devices to new root
69cd /sysroot 69cd /sysroot
70for x in dev proc; do 70for x in dev proc run; do
71 log_info "Moving /$x to new rootfs" 71 log_info "Moving /$x to new rootfs"
72 mount -o move "/$x" "$x" 72 mount -o move "/$x" "$x"
73done 73done