mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
wic: engine: create output dir
Make sure output directory exists before creating an image. Create it if it doesn't exist. (From OE-Core rev: e52bfb0e81d3fb2a474f08b2e2b8b89aadc61d14) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f39943aa69
commit
81ef850314
@@ -187,6 +187,9 @@ def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
|
||||
if debug:
|
||||
msger.set_loglevel('debug')
|
||||
|
||||
if not os.path.exists(image_output_dir):
|
||||
os.makedirs(image_output_dir)
|
||||
|
||||
crobj = creator.Creator()
|
||||
|
||||
cmdline = ["direct", native_sysroot, kernel_dir, bootimg_dir, rootfs_dir,
|
||||
|
||||
Reference in New Issue
Block a user