Skip to content
Commit fb884fb9 authored by Paul Barker's avatar Paul Barker Committed by Steve Sakoman
Browse files

wic: Ensure internal workdir is not reused



If a path is specified for the internal wic working directory using
the -w/--workdir argument then it must not already exist. Re-using a
previous workdir could easily result in rootfs and intermediate files
from a previous build being added to the current image.

Signed-off-by: default avatarPaul Barker <pbarker@konsulko.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e40c8d4)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
(cherry picked from commit 5dcdb76f89c2e5bbc383e2921589482cd1c51491)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 7acb39f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment