From 1a7a0d83b5bd7cd5a465c5a9907141db5eeffd42 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 24 May 2024 12:07:20 -0400 Subject: [PATCH] Correctly identify metapackage for server builds The server kernel uses "securedrop" as the version label, so it appears in all packages. Fix the regex to only look for "securedrop-" packages as the metapackage (as the comment correctly described). Fixes #50. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index d256d9d..cb397dd 100755 --- a/debian/rules +++ b/debian/rules @@ -20,8 +20,8 @@ ifneq (,$(filter-out parallel=1,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))) endif # Get the metapackage name by listing the packages from d/control and -# picking the only one that starts with SD -METAPACKGE := $(shell dh_listpackages | grep "securedrop") +# picking the only one that starts with "securedrop" +METAPACKGE := $(shell dh_listpackages | grep "^securedrop") .PHONY: binary binary-indep binary-arch binary: binary-arch binary-indep