Re: [OE-core][RFC 0/2] Write out file manifest in do_unpack

2024-06-06 Thread Chen Qi via lists.openembedded.org
If I understand it correctly, spdx uses patched source, so in order to 
be potentially used by spdx, the function should be called after do_patch


Regards,
Qi

On 6/6/24 22:03, Joshua Watt via lists.openembedded.org wrote:

This patch series implements a mechanism for do_unpack to write out a
manifest of unpacked files, which is now possible due to the UNPACKDIR
changes. This manifest can be consumed by downstream tasks to report the
source files for the recipe; specifically SPDX can use this instead of
the current behavior where it re-runs do_unpack on it's own.


Joshua Watt (2):
   utils: Add write_files_manifest helper
   classes-global/base: Add manifest to do_unpack

  meta/classes-global/base.bbclass |  4 +-
  meta/lib/oe/utils.py | 67 
  2 files changed, 70 insertions(+), 1 deletion(-)







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#200422): 
https://lists.openembedded.org/g/openembedded-core/message/200422
Mute This Topic: https://lists.openembedded.org/mt/106523630/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][RFC 0/2] Write out file manifest in do_unpack

2024-06-06 Thread Joshua Watt
This patch series implements a mechanism for do_unpack to write out a
manifest of unpacked files, which is now possible due to the UNPACKDIR
changes. This manifest can be consumed by downstream tasks to report the
source files for the recipe; specifically SPDX can use this instead of
the current behavior where it re-runs do_unpack on it's own.


Joshua Watt (2):
  utils: Add write_files_manifest helper
  classes-global/base: Add manifest to do_unpack

 meta/classes-global/base.bbclass |  4 +-
 meta/lib/oe/utils.py | 67 
 2 files changed, 70 insertions(+), 1 deletion(-)

-- 
2.43.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#200402): 
https://lists.openembedded.org/g/openembedded-core/message/200402
Mute This Topic: https://lists.openembedded.org/mt/106523630/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-