From c7800fa825fa610327e3d2ee8c5707973b726a83 Mon Sep 17 00:00:00 2001 From: Jean-Marie Lemetayer Date: Tue, 1 Aug 2023 09:56:08 +0200 Subject: [PATCH] package: always sort the conffiles To improve package reproducibility, the conffiles order should not be directly linked to the file system. Sorting the conffiles solves this issue. Signed-off-by: Jean-Marie Lemetayer Signed-off-by: Richard Purdie --- meta/lib/oe/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index 70040f09e7c..9d70925b9b7 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py @@ -613,7 +613,7 @@ def get_conffiles(pkg, d): conf_list[i] = conf_list[i][1:] os.chdir(cwd) - return conf_list + return sorted(conf_list) def legitimize_package_name(s): """ -- 2.47.2