[meta-oe,kirkstone,master] thrift: add CVE_PRODUCT to fix CVE reporting

Message ID 20220706075957.16116-1-davide.gardenal@huawei.com
State Under Review
Delegated to: Armin Kuster
Headers show
Series [meta-oe,kirkstone,master] thrift: add CVE_PRODUCT to fix CVE reporting | expand

Commit Message

Davide Gardenal July 6, 2022, 7:59 a.m. UTC
Without CVE_PRODUCT set to apache:thrift cve-check was catching
CVEs form facebook:thrift that are not related with this product.
Now the report is correct.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
---
 meta-oe/recipes-connectivity/thrift/thrift_0.16.0.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.16.0.bb b/meta-oe/recipes-connectivity/thrift/thrift_0.16.0.bb
index 2d601a2f9..8141abef5 100644
--- a/meta-oe/recipes-connectivity/thrift/thrift_0.16.0.bb
+++ b/meta-oe/recipes-connectivity/thrift/thrift_0.16.0.bb
@@ -15,6 +15,8 @@  SRC_URI[sha256sum] = "f460b5c1ca30d8918ff95ea3eb6291b3951cf518553566088f3f2be898
 
 BBCLASSEXTEND = "native nativesdk"
 
+CVE_PRODUCT = "apache:thrift"
+
 inherit pkgconfig cmake python3native
 
 export STAGING_INCDIR