[pacman-dev] [PATCH] Fix signing of debug packages
Commit 9c8d7a80 broke the signing of debug packages by merging code up but not changing the test condition. Signed-off-by: Allan McRae <allan@archlinux.org> --- Using this minimal fix for 5.1.1. Eli's patch refacotring this will be considered later. scripts/libmakepkg/integrity/generate_signature.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libmakepkg/integrity/generate_signature.sh.in b/scripts/libmakepkg/integrity/generate_signature.sh.in index 442fe031..b53a90d0 100644 --- a/scripts/libmakepkg/integrity/generate_signature.sh.in +++ b/scripts/libmakepkg/integrity/generate_signature.sh.in @@ -63,7 +63,7 @@ create_package_signatures() { done # check if debug package needs a signature - if ! check_option "debug" "y" || ! check_option "strip" "y"; then + if check_option "debug" "y" && check_option "strip" "y"; then pkg=$pkgbase-@DEBUGSUFFIX@ pkgarch=$(get_pkg_arch) pkg_file="$PKGDEST/${pkg}-${fullver}-${pkgarch}${PKGEXT}" -- 2.17.1
On 06/18/2018 02:52 AM, Allan McRae wrote:
Commit 9c8d7a80 broke the signing of debug packages by merging code up but not changing the test condition.
Signed-off-by: Allan McRae <allan@archlinux.org> ---
Using this minimal fix for 5.1.1. Eli's patch refacotring this will be considered later. Sounds okay to me.
-- Eli Schwartz Bug Wrangler and Trusted User
participants (2)
-
Allan McRae
-
Eli Schwartz