base-imagectl: Ensure RHSM/subscription-manager is initialized
This automates the workaround for https://issues.redhat.com/browse/RHEL-108989 This *should* eventually be fixed when we move to using `dnf` to do installs.
This commit is contained in:
parent
2cfaaf7788
commit
7828d73645
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ def run_build_rootfs(args):
|
|||
else:
|
||||
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']
|
||||
|
||||
override_manifest = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue