Compare commits

..

3 Commits

Author SHA1 Message Date
423896750a buildiso: show which calamares mode is configured
All checks were successful
Artools shellcheck / lint (push) Successful in 20s
2024-02-01 20:32:55 +01:00
ad09046044 buildiso: adopt new calamares services-artix paths
All checks were successful
Artools shellcheck / lint (push) Successful in 24s
2024-02-01 20:00:59 +01:00
c335cab68c buildiso: don't install firmware license, doesn't exist any longer
All checks were successful
Artools shellcheck / lint (push) Successful in 26s
2024-01-16 12:27:20 +01:00
2 changed files with 13 additions and 12 deletions

View File

@@ -15,19 +15,21 @@ yaml_array() {
} }
configure_calamares(){ configure_calamares(){
local mods="$1/etc/calamares/modules" for config in online offline; do
if [[ -d "$mods" ]];then local mods="$1/etc/calamares-$config/modules"
msg2 "Configuring: Calamares" if [[ -d "$mods" ]];then
msg2 "Configuring: Calamares %s" "$config"
if [[ -f "$mods"/services-artix.conf ]]; then if [[ -f "$mods"/services-artix.conf ]]; then
local svc init local svc init
init="${INITSYS}" svc=$(yaml_array "${SERVICES[@]}") \ init="${INITSYS}" svc=$(yaml_array "${SERVICES[@]}") \
yq -P 'with(.; yq -P 'with(.;
.manager = env(init) | .manager = env(init) |
.services = env(svc) )' \ .services = env(svc) )' \
-i "$mods"/services-artix.conf -i "$mods"/services-artix.conf
fi
fi fi
fi done
} }
#}}} #}}}

View File

@@ -13,7 +13,6 @@ prepare_boot_extras(){
done done
cp "$src"/boot/memtest86+/memtest.bin "$dest"/memtest cp "$src"/boot/memtest86+/memtest.bin "$dest"/memtest
cp "$src"/usr/share/licenses/common/GPL2/license.txt "$dest"/memtest.COPYING
} }
#}}} #}}}