From 73f6965d2ef74af4db85e8308c95e7d0f5a36bd9 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 21 Jun 2023 15:35:45 +0200 Subject: [PATCH] mock: document why we set the bootstrap_ config options --- mock/py/mockbuild/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mock/py/mockbuild/config.py b/mock/py/mockbuild/config.py index 0850e57f8..ef6289720 100644 --- a/mock/py/mockbuild/config.py +++ b/mock/py/mockbuild/config.py @@ -269,6 +269,8 @@ def setup_default_config_opts(): config_opts['module_setup_commands'] = [] config_opts['forcearch'] = None + # Initialize all the bootstrap configuration (bootstrap_ prefixed) we don't + # want to automatically inherit from the target buildroot configuration. config_opts['bootstrap_chroot_additional_packages'] = [] config_opts['bootstrap_module_enable'] = [] config_opts['bootstrap_module_install'] = []