Skip to content

Commit 09bf5d7

Browse files
committed
Merge branch 'dev' of github.com:FascodeNet/alterlinux into dev
2 parents b29c4f9 + 75f1ebb commit 09bf5d7

File tree

5 files changed

+23
-20
lines changed

5 files changed

+23
-20
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 ... "

channels/releng/airootfs.any/root/customize_airootfs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ cp -aT /etc/skel/ /root/
8181
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
8282
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
8383

84+
if [[ -e "/root/.automated_script.sh" ]]; then
85+
chmod 755 "/root/.automated_script.sh"
86+
fi
87+
8488
# Enable services.
8589
systemctl enable NetworkManager
8690
systemctl enable pacman-init.service

channels/releng/alteriso

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
alteriso=3.0
1+
alteriso=3.1

channels/releng/config.any

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,12 @@ nochname=true
7676
# List of packages required for build
7777
# The following packages are checked to see if they are installed before running build.sh
7878
# Also, wizard.sh will install it automatically.
79-
dependence=(
80-
# "alterlinux-keyring"
81-
# "archiso"
82-
"arch-install-scripts"
83-
"curl"
84-
"dosfstools"
85-
"edk2-shell"
86-
"git"
87-
"libburn"
88-
"libisofs"
89-
"lz4"
90-
"lzo"
91-
"make"
92-
"squashfs-tools"
93-
"libisoburn"
94-
# "lynx"
95-
"xz"
96-
"zlib"
97-
"zstd"
79+
readarray -t dependence < <(printf "%s\n" "${dependence[@]}" | grep -xv "alterlinux-keyring")
80+
81+
# Modules to include
82+
# An array of module directory names to include.
83+
# This setting cannot be changed by an argument.
84+
modules=(
85+
base
86+
share
9887
)

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)