diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2017-11-03 12:14:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 12:14:48 +0100 |
commit | be78e0ba41d0ed021cdd392ee9ae9778ef25bf86 (patch) | |
tree | 4ce5a0092bde038c6466403fa461f8d7f863d011 /recipes-sota | |
parent | c72d37a4de49242c154e89e1acf9f67a1f536bdd (diff) | |
parent | afd18c7578635e9dd60c5705efd5ad53d78a117e (diff) | |
download | meta-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.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 |