From: Yuta Hayama <[email protected]>

Allow time comparisons to be made regardless of where the script was run.

Signed-off-by: Yuta Hayama <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
(cherry picked from commit 018e74f2ce0b1a4c0614c99bc19f07f787d61123)
Signed-off-by: Steve Sakoman <[email protected]>
---
 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 b9b87f245d..ef47f39c1b 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.34.1

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

Reply via email to