Merge branch 'fix-rhel-repolist' into 'main'

base-imagectl: Ensure RHSM/subscription-manager is initialized

See merge request fedora/bootc/base-images!264
This commit is contained in:
Colin Walters (Red Hat) 2025-08-13 20:12:11 +00:00
commit 6c24b85cc7

View file

@ -25,6 +25,9 @@ def run_build_rootfs(args):
else: else:
raise Exception(f"manifest not found: {args.manifest}") raise Exception(f"manifest not found: {args.manifest}")
# A fix for https://issues.redhat.com/browse/RHEL-108989
subprocess.check_call(['dnf', 'repolist'], stdout=subprocess.DEVNULL)
rpmostree_argv = ['rpm-ostree', 'compose', 'rootfs'] rpmostree_argv = ['rpm-ostree', 'compose', 'rootfs']
override_manifest = {} override_manifest = {}