RFC Extend create-spdx to build kernel spdx info
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest3 patches 4 repliesIn review
- v1 RFC3 patches 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | create-spdx: Add kernel work-shared sourcemeta/ | +5 | 0 replies | |
| 2/3 | package: Add support for kernel strippingmeta/ meta/ | +12 | 1 reply | |
| 3/3 | kernel.bbclass: use common strip()meta/ | +19 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 0/3] Extend create-spdx to build kernel spdx info
This second change set, enables the kernel:do_strip() to share the oe.package:runstrip() method. A copy of the kernel is made for the kernel strip processing which is ultimately deployed, while the unstripped kernel image can be used by package.bbclass to generate the extended packagedata (debug info). The extended packagedata is also used to genrate the SPDX data.
This change also needs to strip out the "/usr/src/kernel" path since the kernel uses work-shared, which is added to the search path.
I have tested this with edgerouter which uses theKERNEL_IMAGE_STRIP_EXTRA_SECTIONS variable
If this looks good, I will send a non-RFC patch set tomorrow.
Sau!
Saul Wold (3):
create-spdx: Add kernel work-shared source
package: Add support for kernel stripping
kernel.bbclass: use common strip()
meta/classes/create-spdx.bbclass | 6 ++++- meta/classes/kernel.bbclass | 44 ++++++++++++++------------------ meta/classes/package.bbclass | 21 +++++---------- meta/lib/oe/package.py | 7 +++-- 4 files changed, 36 insertions(+), 42 deletions(-)
Signature · 1 line
2.31.1