]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
improve_kernel_cve_report: sort kernel_compiled_files
authorDaniel Turull <daniel.turull@ericsson.com>
Wed, 4 Feb 2026 13:42:32 +0000 (14:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Mar 2026 11:18:56 +0000 (11:18 +0000)
Sorting the set so the that output is predictable

Signed-off-by: Andrew Fenner <andrew.fenner@est.tech>
Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/improve_kernel_cve_report.py

index 3a15b1ed26ecbfec68f8ea4768541051622eef34..27ebed2cbdf6354501d574aaa1d2caa271edff08 100755 (executable)
@@ -106,7 +106,7 @@ def get_kernel_cves(datadir, compiled_files, version):
                     "status": "Ignored",
                     "detail": "not-applicable-config",
                     "summary": description,
-                    "description": f"Source code not compiled by config. {affected_files}"
+                    "description": f"Source code not compiled by config. {sorted(affected_files)}"
                 }
                 not_applicable_config +=1
             # Check if we have backport