diff options
author | Jeremy A. Puhlman <jpuhlman@mvista.com> | 2023-12-15 09:10:46 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-17 19:07:22 +0000 |
commit | a49de3ccc11faedf5a98963c39d67f8dd5bdf6e1 (patch) | |
tree | d6dffe3781e1f88ea97b2ad61c3ae07880f6244a /meta/classes/metadata_scm.bbclass | |
parent | 7d881f0214f9761990e52595d33246700c4da15c (diff) | |
download | poky-a49de3ccc11faedf5a98963c39d67f8dd5bdf6e1.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: bb9f2a9c0ff5dcdeaf1a0beb6a614d0d022a2481)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/metadata_scm.bbclass')
0 files changed, 0 insertions, 0 deletions