[Buildroot] [PATCH v4 5/5] support/scripts/pkgstats: add CPE reporting
Matthew Weber
matthew.weber at rockwellcollins.com
Thu May 17 01:42:50 UTC 2018
Arnout,
On Wed, May 16, 2018 at 6:34 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
>
>
> On 10-05-18 20:58, Matt Weber wrote:
>> +
>> + if pkgvar == "LINUX":
>> + Package.all_cpe_id[pkgvar] = "cpe:2.3:o:" + value + ":*:*:*:*:*:*:*"
>> + elif pkgvar == "LINUX_HEADERS":
>> + Package.all_cpe_id[pkgvar] = "cpe:2.3:o:" + value + ":*:*:*:*:*:*:*"
>
> A bit more idiomatic:
>
> if pkgvar in ("LINUX", "LINUX_HEADERS"):
> Package.all_cpe_id[pkgvar] = "cpe:2.3:o:" + value + ":*:*:*:*:*:*:*"
>
Noted, will update.
Matt
More information about the buildroot
mailing list