Skip to content

Set custom CPE_ID_VERSION when using custom sources

Heiko Stuebner via buildroot buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 2 repliesIn review

Changes in v2 from the cover letter

- v1 didn't reach the mailinglist due to me not having subscribed yet but already some people directly in Cc
- Don't use 2 symbols when 1 is enough (no bool + string, just a string)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3boot/optee-os: add option to override the CPE_ID_VERSIONboot/optee-os/Config.in boot/optee-os/optee-os.mk+14 -00 replies
2/3boot/uboot: add option to override the CPE_ID_VERSIONboot/uboot/Config.in boot/uboot/uboot.mk+14 -02 replies
3/3linux: add option to override the CPE_ID_VERSIONlinux/Config.in linux/linux.mk+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/3] Set custom CPE_ID_VERSION when using custom sources

From: Heiko Stuebner <[email protected]>

Linux, U-Boot, OP-TEE allow using custom sources that not directly declare their base-version, but instead either will report "custom" or a git/hg revision as their version.

When generating a cpe string using that, any tooling needing that, for example CVE checkers using the show-info / sbom will report incorrect results in that case.

So for these cases, allow declaring the software version that is hiding in the sources that is used.

changes in v2:
- v1 didn't reach the mailinglist due to me not having subscribed yet but already some people directly in Cc
- Don't use 2 symbols when 1 is enough (no bool + string, just a string)

Heiko Stuebner (3):
boot/optee-os: add option to override the CPE_ID_VERSION boot/uboot: add option to override the CPE_ID_VERSION
linux: add option to override the CPE_ID_VERSION

 boot/optee-os/Config.in   | 11 +++++++++++
 boot/optee-os/optee-os.mk |  3 +++
 boot/uboot/Config.in      | 11 +++++++++++
 boot/uboot/uboot.mk       |  3 +++
 linux/Config.in           | 12 ++++++++++++
 linux/linux.mk            |  3 +++
 6 files changed, 43 insertions(+)
Signature · 6 lines
2.51.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot