]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
linux/generate-cve-exclusions: print the generated time in UTC
authorYuta Hayama <hayama@lineo.co.jp>
Tue, 5 Sep 2023 07:29:07 +0000 (16:29 +0900)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Sep 2023 16:52:37 +0000 (17:52 +0100)
Allow time comparisons to be made regardless of where the script was run.

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-kernel/linux/generate-cve-exclusions.py

index 3bc1c7096ff68f16b069333715be47b6195b1ece..7e61abd202a96dd557f6488396c5027ceae22208 100755 (executable)
@@ -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}"