Skip to content

Commit 75f1ebb

Browse files
committed
[update] : Add exclude_modules
1 parent b435882 commit 75f1ebb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,12 @@ prepare_build() {
370370
modules=("${_modules[@]}")
371371
unset _modules
372372

373+
# Ignore modules
374+
local _m
375+
for _m in "${exclude_modules[@]}"; do
376+
readarray -t modules < <(printf "%s\n" "${modules[@]}" | grep -xv "${_m}")
377+
done
378+
373379
# Check modules
374380
module_check(){
375381
msg_debug -n "Checking ${1} module ... "

default.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ additional_exclude_pkg=()
306306
# This array is not available in the configuration files in the channel.
307307
additional_modules=()
308308

309+
310+
# Module list
311+
exclude_modules=()
312+
309313
# Run with tee command
310314
# Set to "false" to disable logging
311315
# If not false, the log will be saved in the specified path.

0 commit comments

Comments
 (0)