summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/sdk.py
diff options
context:
space:
mode:
authorJeremy A. Puhlman <jpuhlman@mvista.com>2023-12-15 09:10:46 -0800
committerSteve Sakoman <steve@sakoman.com>2024-01-27 08:09:47 -1000
commita63b21a693e789d90930cedeb633ae4d800af9a7 (patch)
treeeddb95d8fe2d6e2398b2a3aed628b8470681d73a /scripts/lib/devtool/sdk.py
parent5d5c77bc4ce5d3c91750eb59a00c0237e6c12e0e (diff)
downloadpoky-a63b21a693e789d90930cedeb633ae4d800af9a7.tar.gz
create-spdx-2.2: combine spdx can try to write before dir creation
On occasion a file is attmpeded to be opened prior to the creation of the spdx_workdir. Create the directory before the open, just in case. File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1081, function: combine_spdx 1077: ) 1078: 1079: image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json") 1080: *** 1081: with image_spdx_path.open("wb") as f: 1082: doc.to_json(f, sort_keys=True, indent=get_json_indent(d)) (From OE-Core rev: 1b90a9c9c8180c080f780c8dd428fad3f55e879d) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb9f2a9c0ff5dcdeaf1a0beb6a614d0d022a2481) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions