summaryrefslogtreecommitdiffstats
path: root/core/bin
diff options
context:
space:
mode:
authorSimon Rettberg2021-11-09 09:51:55 +0100
committerSimon Rettberg2021-11-09 09:53:11 +0100
commit0ced4c90328992b0e6a6dabdc65c8e245aec0fe2 (patch)
tree25ad0d7f969b03f4214debcbf320c1e6aa502e1f /core/bin
parentsetup_target: Honor dependency ordering when running module_init (diff)
downloadmltk-0ced4c90328992b0e6a6dabdc65c8e245aec0fe2.tar.gz
mltk-0ced4c90328992b0e6a6dabdc65c8e245aec0fe2.tar.xz
mltk-0ced4c90328992b0e6a6dabdc65c8e245aec0fe2.zip
setup_target: Only install packages of selected modules
Despite the according comment saying otherwise, mltk would always try to install all packages of all modules in a target, even when building just a single module from a target. Fixed now.
Diffstat (limited to 'core/bin')
-rwxr-xr-xcore/bin/setup_target2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target
index cee93e93..c90936b8 100755
--- a/core/bin/setup_target
+++ b/core/bin/setup_target
@@ -78,7 +78,7 @@ install_all_packages () {
declare -a missing
declare -A packages dupcheck
packages=()
- for module in "${!MODULE_PATHS[@]}"; do
+ for module in $MODULES; do
unset_required_vars
config="${MODULE_PATHS["$module"]}/module.conf"
for file in $SYS_VERSIONS; do