From b6f435fe11735f7dbb06bb2a95b97f4066e9012a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 27 Nov 2023 10:59:04 -0500 Subject: [PATCH] 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. --- tests/kolainst/destructive/staged-deploy.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2