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.
This commit is contained in:
Colin Walters 2023-11-27 10:59:04 -05:00
parent ff7e7f4767
commit b6f435fe11

View File

@ -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