diff options
author | Yuta Hayama <hayama@lineo.co.jp> | 2023-09-05 16:29:07 +0900 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-06 17:52:45 +0100 |
commit | dd2e4f417cce355185b33c7fe61a02c7f488c428 (patch) | |
tree | 78c9f868c88c1091e635ae4e087328bb9190edf1 | |
parent | 71d83f653a3228059f8f1c663d4a9a863a242618 (diff) | |
download | poky-dd2e4f417cce355185b33c7fe61a02c7f488c428.tar.gz |
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>
-rwxr-xr-x | meta/recipes-kernel/linux/generate-cve-exclusions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/generate-cve-exclusions.py b/meta/recipes-kernel/linux/generate-cve-exclusions.py index 3bc1c7096f..7e61abd202 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): | |||
44 | 44 | ||
45 | print(f""" | 45 | print(f""" |
46 | # Auto-generated CVE metadata, DO NOT EDIT BY HAND. | 46 | # Auto-generated CVE metadata, DO NOT EDIT BY HAND. |
47 | # Generated at {datetime.datetime.now()} for version {version} | 47 | # Generated at {datetime.datetime.now(datetime.timezone.utc)} for version {version} |
48 | 48 | ||
49 | python check_kernel_cve_status_version() {{ | 49 | python check_kernel_cve_status_version() {{ |
50 | this_version = "{version}" | 50 | this_version = "{version}" |