From 018e74f2ce0b1a4c0614c99bc19f07f787d61123 Mon Sep 17 00:00:00 2001 From: Yuta Hayama Date: Tue, 5 Sep 2023 16:29:07 +0900 Subject: [PATCH] linux/generate-cve-exclusions: print the generated time in UTC Allow time comparisons to be made regardless of where the script was run. Signed-off-by: Yuta Hayama Signed-off-by: Alexandre Belloni --- meta/recipes-kernel/linux/generate-cve-exclusions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/generate-cve-exclusions.py b/meta/recipes-kernel/linux/generate-cve-exclusions.py index 3bc1c7096ff..7e61abd202a 100755 --- a/meta/recipes-kernel/linux/generate-cve-exclusions.py +++ b/meta/recipes-kernel/linux/generate-cve-exclusions.py @@ -44,7 +44,7 @@ def main(argp=None): print(f""" # Auto-generated CVE metadata, DO NOT EDIT BY HAND. -# Generated at {datetime.datetime.now()} for version {version} +# Generated at {datetime.datetime.now(datetime.timezone.utc)} for version {version} python check_kernel_cve_status_version() {{ this_version = "{version}" -- 2.47.2