diff options
author | Paul Barker <pbarker@konsulko.com> | 2021-01-11 10:32:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-13 23:12:25 +0000 |
commit | 2e7314ac3a3cab89de93c932e8efc75de0feb0a7 (patch) | |
tree | dfda773986415c8a0de796a8575b020309ae8047 /scripts/wic | |
parent | 8c210407d07483075a70c8b97ad52b5eae062c9c (diff) | |
download | openembedded-core-contrib-2e7314ac3a3cab89de93c932e8efc75de0feb0a7.tar.gz |
wic: Add workdir argument
This allows the path for the temporary workdir used by wic to be set
when running wic from bitbake or directly from the command line.
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic index 24700f380f..a741aed364 100755 --- a/scripts/wic +++ b/scripts/wic @@ -312,6 +312,8 @@ def wic_init_parser_create(subparser): subparser.add_argument("-o", "--outdir", dest="outdir", default='.', help="name of directory to create image in") + subparser.add_argument("-w", "--workdir", + help="temporary workdir to use for intermediate files") subparser.add_argument("-e", "--image-name", dest="image_name", help="name of the image to use the artifacts from " "e.g. core-image-sato") |