diff options
author | Milton Miller <miltonm@us.ibm.com> | 2016-02-05 17:26:04 -0600 |
---|---|---|
committer | Milton D. Miller II <miltonm@us.ibm.com> | 2016-02-09 11:11:24 -0600 |
commit | 7d9e2e4ae2c59fe69fd14c291db1caf61c9969ee (patch) | |
tree | 048bc13ee91c0a2129be28018a7118e16065e64f /meta-phosphor/common/recipes-phosphor/obmc-phosphor-event | |
parent | dbacf104885c3bf78c5f3e06f63bba6db0742e4b (diff) | |
download | talos-openbmc-7d9e2e4ae2c59fe69fd14c291db1caf61c9969ee.tar.gz talos-openbmc-7d9e2e4ae2c59fe69fd14c291db1caf61c9969ee.zip |
obmc-initfs: shutdown when rofs is a loop mounted image in /run
If one sets rodir=/run/image-rofs roopts=ro,loop and transfers
an image one can run from a base image in ram. However, the
shutdown will fail to unmount /run because it is busy and then
fails to unmount /cow which causes oldroot to be still mounted.
By moving the mount to the side everything cleans up (as long
as there are no other mounts under run, and systemd-shutdown
tried to do as much as possible).
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/obmc-phosphor-event')
0 files changed, 0 insertions, 0 deletions