1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
From: Evangelos Ribeiro Tzaras <devrtz-debian@fortysixandtwo.eu>
Date: Tue, 6 Aug 2024 12:24:16 +0200
Subject: find-sources: Guarantee stable file order
Forwarded: https://gitlab.com/postmarketOS/buffybox/-/merge_requests/24
This is a cause for unreproducibility.
See https://reproducible-builds.org/docs/stable-inputs/
---
find-lvgl-sources.sh | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/find-lvgl-sources.sh b/find-lvgl-sources.sh
index cd63a40..ede9eef 100755
--- a/find-lvgl-sources.sh
+++ b/find-lvgl-sources.sh
@@ -17,15 +17,15 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-find lv_drivers -name '*.c'
-find lvgl/src/core -name '*.c'
-find lvgl/src/draw -name '*.c'
-find lvgl/src/extra -name '*.c'
-find lvgl/src/extra/layouts/flex -name '*.c'
-find lvgl/src/extra/widgets/keyboard -name '*.c'
-find lvgl/src/extra/widgets/msgbox -name '*.c'
-find lvgl/src/extra/widgets/span -name '*.c'
-find lvgl/src/font -name '*.c'
-find lvgl/src/hal -name '*.c'
-find lvgl/src/misc -name '*.c'
-find lvgl/src/widgets -name '*.c'
+find lv_drivers -name '*.c' | LC_ALL=C sort
+find lvgl/src/core -name '*.c' | LC_ALL=C sort
+find lvgl/src/draw -name '*.c' | LC_ALL=C sort
+find lvgl/src/extra -name '*.c' | LC_ALL=C sort
+find lvgl/src/extra/layouts/flex -name '*.c' | LC_ALL=C sort
+find lvgl/src/extra/widgets/keyboard -name '*.c' | LC_ALL=C sort
+find lvgl/src/extra/widgets/msgbox -name '*.c' | LC_ALL=C sort
+find lvgl/src/extra/widgets/span -name '*.c' | LC_ALL=C sort
+find lvgl/src/font -name '*.c' | LC_ALL=C sort
+find lvgl/src/hal -name '*.c' | LC_ALL=C sort
+find lvgl/src/misc -name '*.c' | LC_ALL=C sort
+find lvgl/src/widgets -name '*.c' | LC_ALL=C sort
|