Skip to content

Commit

Permalink
linux/generate-cve-exclusions: print the generated time in UTC
Browse files Browse the repository at this point in the history
Allow time comparisons to be made regardless of where the script was run.

(From OE-Core rev: 018e74f2ce0b1a4c0614c99bc19f07f787d61123)

Signed-off-by: Yuta Hayama <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
  • Loading branch information
yuta-hayama authored and rpurdie committed Sep 6, 2023
1 parent 71d83f6 commit dd2e4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/recipes-kernel/linux/generate-cve-exclusions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit dd2e4f4

Please sign in to comment.