You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frontend: prefer dnf over tdnf to work around tdnf GPG and forcearch limitations
tdnf fails when installing signed local RPMs (from the @cmdline virtual
repo) into an installroot with a populated RPM database, because it
requires a gpgkey entry for @cmdline which is a synthetic repo with no
config. This manifests when building containers with a custom base image
on azlinux/mariner distros.
Rather than working around individual tdnf bugs, prefer dnf when it is
available. The install script now checks for dnf at runtime and switches
from tdnf transparently. The same-platform worker bootstrap is updated
to install dnf as a separate first step (mirroring the cross-arch path)
so that subsequent installs benefit from dnf.
Also remove hardcoded GPG email from test key ID lookups in favor of
selecting the first available key.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
0 commit comments