diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-25 14:26:36 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-30 08:45:12 +0100 |
commit | 92e1c7d47e695eb4ce1a863cd0f6c49dca1c2339 (patch) | |
tree | 5dabf92807a1e264805cd9b9640adfab65c97ab1 /scripts/lib/wic/pluginbase.py | |
parent | 402b4cffbb4c58cfee93db18192f2b218ee0ae35 (diff) | |
download | openembedded-core-92e1c7d47e695eb4ce1a863cd0f6c49dca1c2339.tar.gz openembedded-core-92e1c7d47e695eb4ce1a863cd0f6c49dca1c2339.tar.bz2 openembedded-core-92e1c7d47e695eb4ce1a863cd0f6c49dca1c2339.zip |
wic: copy rootfs directory before changing fstab
wic updates /etc/fstab on root partition if there are
valid mount points in .wks
When wic runs from bitbake this can cause incorrect results
or even breakage of other tasks working with the same rootfs
directory in parallel with do_image_wic.
Implemented copying rootfs directory to a temporary location
using copyhardlinktree before updating fstab to avoid conflicts with
other tasks working with the same rootfs directory.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/pluginbase.py')
0 files changed, 0 insertions, 0 deletions