Skip to content

Commit bfb431a

Browse files
committed
"setup_cmd" of bootstrap container is the actuall $pm_install_command from the main container [RHBZ#1540813]
otherwise we will populate it with package manager of the same PM we used for bootstap
1 parent 91bc239 commit bfb431a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mock/py/mock.py

+3
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,9 @@ def main():
723723
buildroot = Buildroot(config_opts, uidManager, state, plugins, bootstrap_buildroot)
724724
commands = Commands(config_opts, uidManager, plugins, state, buildroot, bootstrap_buildroot)
725725

726+
if config_opts['use_bootstrap_container']:
727+
bootstrap_buildroot.config['chroot_setup_cmd'] = buildroot.pkg_manager.install_command
728+
726729
state.start("run")
727730

728731
if options.printrootpath:

0 commit comments

Comments
 (0)