mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02: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: 018e74f2ce0b1a4c0614c99bc19f07f787d61123) Signed-off-by: Yuta Hayama <hayama@lineo.co.jp> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
71d83f653a
commit
dd2e4f417c
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user