[Freedombox-pkg-team] Bug#872541: plinth: Sort generated depends list

James Valleroy jvalleroy at mailbox.org
Fri Aug 18 09:38:16 UTC 2017


Package: plinth
Severity: normal
Tags: patch

plinth's control has depends listed in random order, that changes with every build:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/plinth.html

To avoid this, sort the list printed by --list-dependencies.
-------------- next part --------------
>From b4cc9d3fc9e1f74b6d1561d3d0f2266869bfe92c Mon Sep 17 00:00:00 2001
From: James Valleroy <jvalleroy at mailbox.org>
Date: Thu, 17 Aug 2017 22:12:54 -0400
Subject: [PATCH] Sort dependency list for essential modules

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a54942d6..496d0c31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export PYBUILD_NAME=plinth
 
 override_dh_auto_install-indep:
 	dh_auto_install
-	./run --list-dependencies 2> /dev/null | tr '\n' ', ' | \
+	./run --list-dependencies 2> /dev/null | sort | tr '\n' ', ' | \
 		sed -e 's/^/plinth:Depends=/' >> debian/plinth.substvars
 
 new-upstream:
-- 
2.11.0



More information about the Freedombox-pkg-team mailing list