From: Matthias Kruk Date: Sun, 25 Apr 2021 03:48:50 +0000 (+0900) Subject: buildbot: Use dpkg-buildpackage -k instead of --sign-key X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=66020d2725dce7ea73b1cb0c67b0657d9f74e2c1;p=foundry 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. --- 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