From 66020d2725dce7ea73b1cb0c67b0657d9f74e2c1 Mon Sep 17 00:00:00 2001 From: Matthias Kruk Date: Sun, 25 Apr 2021 12:48:50 +0900 Subject: [PATCH] buildbot: Use dpkg-buildpackage -k instead of --sign-key Older versions of dpkg-buildpackage don't understand the --sign-key option. With such versions, the -k option has to be used instead. This commit changes buildbot to pass the key to dpkg-buildpackage using the -k option. --- buildbot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot.sh b/buildbot.sh index 86a8a99..a1e9f77 100755 --- a/buildbot.sh +++ b/buildbot.sh @@ -10,7 +10,7 @@ build_packages() { npkgs=0 - if ! output=$(cd "$sourcetree" && dpkg-buildpackage --sign-key="$gpgkey"); then + if ! output=$(cd "$sourcetree" && dpkg-buildpackage "-k$gpgkey"); then log_error "Could not build $sourcetree" echo "$output" | log_highlight "dpkg-buildpackage" | log_error -- 2.47.3