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:13:45 +0000 |
commit | 1b816d180bf11b46301bfd15a27524dd92b38038 (patch) | |
tree | b23f258e8d24a70c1b095b8eda187c7a3937fbf9 /scripts/wic | |
parent | 2fa0b3278ca6900320795ffa61c894254531bc03 (diff) | |
download | poky-1b816d180bf11b46301bfd15a27524dd92b38038.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.
(From OE-Core rev: 2e7314ac3a3cab89de93c932e8efc75de0feb0a7)
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): | |||
312 | 312 | ||
313 | subparser.add_argument("-o", "--outdir", dest="outdir", default='.', | 313 | subparser.add_argument("-o", "--outdir", dest="outdir", default='.', |
314 | help="name of directory to create image in") | 314 | help="name of directory to create image in") |
315 | subparser.add_argument("-w", "--workdir", | ||
316 | help="temporary workdir to use for intermediate files") | ||
315 | subparser.add_argument("-e", "--image-name", dest="image_name", | 317 | subparser.add_argument("-e", "--image-name", dest="image_name", |
316 | help="name of the image to use the artifacts from " | 318 | help="name of the image to use the artifacts from " |
317 | "e.g. core-image-sato") | 319 | "e.g. core-image-sato") |