summaryrefslogtreecommitdiffstats
path: root/recipes-sota
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2017-11-03 12:14:48 +0100
committerGitHub <noreply@github.com>2017-11-03 12:14:48 +0100
commitbe78e0ba41d0ed021cdd392ee9ae9778ef25bf86 (patch)
tree4ce5a0092bde038c6466403fa461f8d7f863d011 /recipes-sota
parentc72d37a4de49242c154e89e1acf9f67a1f536bdd (diff)
parentafd18c7578635e9dd60c5705efd5ad53d78a117e (diff)
downloadmeta-updater-be78e0ba41d0ed021cdd392ee9ae9778ef25bf86.tar.gz
Merge pull request #159 from advancedtelematic/bugfix/PRO-4249/varmount
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