diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-11-03 11:45:54 +0100 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-11-03 11:45:54 +0100 |
commit | afd18c7578635e9dd60c5705efd5ad53d78a117e (patch) | |
tree | 7c1d3e75e77e3ad31cf6d0a5e5b6798bd73bb354 /recipes-sota/ostree-initrd | |
parent | 6b83fd2c704ad8b528b80ac036abab1e94bb982b (diff) | |
download | meta-updater-afd18c7578635e9dd60c5705efd5ad53d78a117e.tar.gz |
Share /run directory between initramfs and system image to communicate ostree-booted file
Diffstat (limited to 'recipes-sota/ostree-initrd')
-rw-r--r-- | recipes-sota/ostree-initrd/files/init.sh | 2 |
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 |
69 | cd /sysroot | 69 | cd /sysroot |
70 | for x in dev proc; do | 70 | for 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" |
73 | done | 73 | done |