diff options
author | Ricardo Simoes <ricardo.simoes@pt.bosch.com> | 2024-07-18 08:46:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-18 17:21:39 +0100 |
commit | c32490b139d99712d49af4948b2863fd5100135b (patch) | |
tree | c658f326031ed6538a54e1c77d093bd4103276a4 /scripts/lib/devtool/sdk.py | |
parent | 18225f0baeacc93c2cc1bf65a61fb1a985769b9c (diff) | |
download | poky-c32490b139d99712d49af4948b2863fd5100135b.tar.gz |
volatile-binds: Do not create workdir if OverlayFS is disabled
When the mountpoint parameter is a directory, the mount-copybind will
first try to use OverlayFS. Because of that, it needs to create the
OverlayFS workdir (determined by the overlay_workdir).
But if the environment variable MOUNT_COPYBIND_AVOID_OVERLAYFS is set
to "1", the script uses bind mount. In that case, the overlay_workdir
is useless, leaving the spec parent directory in a dirty state.
This commit changes mount-copybind so that the overlay_workdir is only
created when MOUNT_COPYBIND_AVOID_OVERLAYFS is not set to 1.
(From OE-Core rev: 323765607f262b5fea0f19e8a05aeffe5076235a)
Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions