From 03e9f009014e2364799bce6fdf5162963649d3ac Mon Sep 17 00:00:00 2001 From: Slaviusz <30972602+Slaviusz@users.noreply.github.com> Date: Tue, 24 May 2022 23:56:42 +0200 Subject: [PATCH] Predictable alphabetically sorted user fragment application (#518) --- linux-tkg-config/prepare | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index cc0527a..c9f10f0 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -1388,7 +1388,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r if [ true = "$_config_fragments" ]; then local fragments=() - mapfile -d '' -t fragments < <(find "$_where"/ -type f -name "*.myfrag" -print0) + mapfile -d '' -t fragments < <(find "$_where"/ -type f -name "*.myfrag" -print0 | sort -z) if [ true = "$_config_fragments_no_confirm" ]; then printf 'Using config fragment %s\n' "${fragments[@]#$_where/}" #"