From: Colin Walters Date: Mon, 27 Nov 2023 15:59:04 +0000 (-0500) Subject: tests: Turn off gpg verification for dev builds X-Git-Tag: archive/raspbian/2023.8-1+rpi1^2~9^2^2~9^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b6f435fe11735f7dbb06bb2a95b97f4066e9012a;p=ostree.git tests: Turn off gpg verification for dev builds Right now `ostree admin status` errors out in this case, but `rpm-ostree status` doesn't. The former behavior is probably more of a bug, work around it for now. --- diff --git a/tests/kolainst/destructive/staged-deploy.sh b/tests/kolainst/destructive/staged-deploy.sh index ff6f8d7a..282990b7 100755 --- a/tests/kolainst/destructive/staged-deploy.sh +++ b/tests/kolainst/destructive/staged-deploy.sh @@ -8,6 +8,9 @@ prepare_tmpdir case "${AUTOPKGTEST_REBOOT_MARK:-}" in "") + # Need to disable gpg verification for test builds + sed -i -e 's,gpg-verify=true,gpg-verify=false,' /etc/ostree/remotes.d/*.conf + # Test our generator test -f /run/systemd/generator/multi-user.target.wants/ostree-finalize-staged.path test -f /run/systemd/generator/local-fs.target.requires/ostree-remount.service