summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2021-01-11 10:32:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-03 14:13:54 +0000
commit7655375e15cdf31c2017efb9de8543f35cb1cbff (patch)
tree36a9cbf7a418fe04d8b87d0c75ed3e7188d11136 /scripts/wic
parentd1a8712f0b4b52a6d6013979a63057a994ea816d (diff)
downloadpoky-7655375e15cdf31c2017efb9de8543f35cb1cbff.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: 447643eebff00715bd9717ebcb75edb20fc69778) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e7314ac3a3cab89de93c932e8efc75de0feb0a7) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit a2308800b7eb5215982db7269d74d6292075f19f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-xscripts/wic2
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")