Hi Valentin,
Make sure to update the documentation to point to the new location once this 
gets merged.

https://docs.yoctoproject.org/dev/dev-manual/vulnerabilities.html#linux-kernel-vulnerabilities

I was also going to comment to have Bruce aware of the changes, since he runs 
the script when the kernel gets updated but he already replied to it.

Daniel

> -----Original Message-----
> From: [email protected] <openembedded-
> [email protected]> On Behalf Of vboudevin via
> lists.openembedded.org
> Sent: Tuesday, 6 January 2026 20:10
> To: [email protected]
> Cc: ValentinBoudevin <[email protected]>
> Subject: [OE-core] [[PATCH v2] 3/4] generate-cve-exclusions: Move python 
> script
> 
> The script should be located with other scripts in scripts/contrib instead of 
> staying
> in meta/classes/.
> 
> Update the new .bbclass to match this modification
> ---
>  meta/classes/generate-cve-exclusions.bbclass                    | 2 +-
>  .../linux => scripts/contrib}/generate-cve-exclusions.py        | 0
>  2 files changed, 1 insertion(+), 1 deletion(-)  rename 
> {meta/recipes-kernel/linux
> => scripts/contrib}/generate-cve-exclusions.py (100%)
> 
> diff --git a/meta/classes/generate-cve-exclusions.bbclass
> b/meta/classes/generate-cve-exclusions.bbclass
> index 254ea5531d..100d2e99b6 100644
> --- a/meta/classes/generate-cve-exclusions.bbclass
> +++ b/meta/classes/generate-cve-exclusions.bbclass
> @@ -28,7 +28,7 @@ do_clone_cvelistV5[doc] = "Clone CVE information from the
> CVE Project: https://g  addtask clone_cvelistV5 before
> do_generate_cve_exclusions
> 
>  do_generate_cve_exclusions() {
> -    generate_cve_exclusions_script=$(find ${COREBASE} -name "generate-cve-
> exclusions.py")
> +
> + generate_cve_exclusions_script=${COREBASE}/scripts/contrib/generate-cv
> + e-exclusions.py
>      if [ -z "${generate_cve_exclusions_script}" ]; then
>          bbfatal "generate-cve-exclusions.py not found in ${COREBASE}."
>      fi
> diff --git a/meta/recipes-kernel/linux/generate-cve-exclusions.py
> b/scripts/contrib/generate-cve-exclusions.py
> similarity index 100%
> rename from meta/recipes-kernel/linux/generate-cve-exclusions.py
> rename to scripts/contrib/generate-cve-exclusions.py
> --
> 2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229041): 
https://lists.openembedded.org/g/openembedded-core/message/229041
Mute This Topic: https://lists.openembedded.org/mt/117111077/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to