From c72712e52db8fbc65d0f040cee0a95e287e18301 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Sat, 8 Sep 2018 04:59:02 +0200 Subject: [PATCH] Sort entries in config6 so that openSUSE's installation-images builds in a reproducible way in spite of indeterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good. --- lib/gvc/gvconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index fe6fee880..59c461441 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -437,7 +437,7 @@ static void config_rescan(GVC_t *gvc, char *config_path) #if defined(_WIN32) rc = glob(gvc, config_glob, GLOB_NOSORT, NULL, &globbuf); #else - rc = glob(config_glob, GLOB_NOSORT, NULL, &globbuf); + rc = glob(config_glob, 0, NULL, &globbuf); #endif if (rc == 0) { for (i = 0; i < globbuf.gl_pathc; i++) { -- 2.40.0