Skip to content

Commit d85e619

Browse files
committed
Disable Debian package signing.
Signing with GnuPG inside a container by mounting hosts' ~/.gnupg is prevented by GnuPG's keyboxd. Signing will be implemented with Sigstore cosign in an update.
1 parent 0a1af77 commit d85e619

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

pkgs/Debian/Containerfile.in

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ RUN <<COMPILE_TEST_INSTALL
2929
sed -i -e "/^AC_INIT/s/\\[ed\\],\\[[^]]*\\]/[ed],[${ED_VERSION}]/" \
3030
configure.ac || exit $?
3131
./autogen.sh || exit $?
32-
./configure --prefix=/usr --enable-all-extensions \
32+
./configure --prefix=/usr \
33+
--enable-all-extensions \
3334
--with-included-regex || exit $?
3435
make -j$(nproc) || exit $?
3536
make check || exit $?
@@ -66,6 +67,8 @@ RUN <<BUILD_AND_SIGN_PACKAGE
6667
git reset --hard "v${ED_VERSION}" \
6768
&& git branch upstream \
6869
&& git clean -fdx \
69-
&& gbp buildpackage --git-debian-branch=main \
70-
--git-upstream-tree=branch || exit $?
70+
&& gbp buildpackage \
71+
--git-no-sign-tags \
72+
--git-debian-branch=main \
73+
--git-upstream-tree=branch || exit $?
7174
BUILD_AND_SIGN_PACKAGE

pkgs/scripts/build-pkg.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ EOF
5656
--build-arg SIGNER_NAME="$$(git config user.name)" \
5757
--build-arg SIGNER_EMAIL="$$(git config user.email)" \
5858
--platform "${params[platform]}" \
59-
-v ~/.gnupg:/root/.gnupg:z "${containerfile%/*}" 2>&1 |
59+
"${containerfile%/*}" 2>&1 |
6060
tee "$logfile" |
6161
tail -n 1
6262
)

0 commit comments

Comments
 (0)