1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 01:40:07 +00:00

linux/generate-cve-exclusions: print the generated time in UTC

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

(From OE-Core rev: aa90e5ea1fe77c97e5915e5e9a69bbd0b9461d09)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 018e74f2ce0b1a4c0614c99bc19f07f787d61123)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Yuta Hayama
2023-09-05 16:29:07 +09:00
committed by Steve Sakoman
parent aa56c1b8fa
commit 67baa777fe
@@ -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}"