All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] kubernetes: set CVE_VERSION explicitly
@ 2023-07-24  3:15 Qi.Chen
  2023-07-25 18:51 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Qi.Chen @ 2023-07-24  3:15 UTC (permalink / raw)
  To: meta-virtualization

From: Chen Qi <Qi.Chen@windriver.com>

The CVE_VERSION defaults to PV, but in NVD database, there's no
prefixing 'v' in database. So set CVE_VERSION explicitly for better
CVE scanning.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 recipes-containers/kubernetes/kubernetes_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb
index 8b7c9e0..fefb2c1 100644
--- a/recipes-containers/kubernetes/kubernetes_git.bb
+++ b/recipes-containers/kubernetes/kubernetes_git.bb
@@ -6,6 +6,7 @@ maintenance, and scaling of applications. \
 "
 
 PV = "v1.27.1+git${SRCREV_kubernetes}"
+CVE_VERSION = "1.27.1"
 SRCREV_kubernetes = "2555e0f90e80a13628f47eca5cde34decc89babb"
 SRCREV_kubernetes-release = "21382abdbfa8e6a43fd417306fa649cb651cc06e"
 PE = "1"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization][PATCH] kubernetes: set CVE_VERSION explicitly
  2023-07-24  3:15 [meta-virtualization][PATCH] kubernetes: set CVE_VERSION explicitly Qi.Chen
@ 2023-07-25 18:51 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2023-07-25 18:51 UTC (permalink / raw)
  To: Qi.Chen; +Cc: meta-virtualization

We could also do this programatically via a simple
inline python, that way it won't be missed during
uprev's.

I'll take care of that shortly, as I'm upreving
packages at the moment.

Bruce

In message: [meta-virtualization][PATCH] kubernetes: set CVE_VERSION explicitly
on 24/07/2023 Chen Qi via lists.yoctoproject.org wrote:

> From: Chen Qi <Qi.Chen@windriver.com>
> 
> The CVE_VERSION defaults to PV, but in NVD database, there's no
> prefixing 'v' in database. So set CVE_VERSION explicitly for better
> CVE scanning.
> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  recipes-containers/kubernetes/kubernetes_git.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb
> index 8b7c9e0..fefb2c1 100644
> --- a/recipes-containers/kubernetes/kubernetes_git.bb
> +++ b/recipes-containers/kubernetes/kubernetes_git.bb
> @@ -6,6 +6,7 @@ maintenance, and scaling of applications. \
>  "
>  
>  PV = "v1.27.1+git${SRCREV_kubernetes}"
> +CVE_VERSION = "1.27.1"
>  SRCREV_kubernetes = "2555e0f90e80a13628f47eca5cde34decc89babb"
>  SRCREV_kubernetes-release = "21382abdbfa8e6a43fd417306fa649cb651cc06e"
>  PE = "1"
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8130): https://lists.yoctoproject.org/g/meta-virtualization/message/8130
> Mute This Topic: https://lists.yoctoproject.org/mt/100322950/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-25 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24  3:15 [meta-virtualization][PATCH] kubernetes: set CVE_VERSION explicitly Qi.Chen
2023-07-25 18:51 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.