Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
423896750a
|
|||
ad09046044
|
|||
c335cab68c
|
@@ -15,19 +15,21 @@ yaml_array() {
|
||||
}
|
||||
|
||||
configure_calamares(){
|
||||
local mods="$1/etc/calamares/modules"
|
||||
if [[ -d "$mods" ]];then
|
||||
msg2 "Configuring: Calamares"
|
||||
for config in online offline; do
|
||||
local mods="$1/etc/calamares-$config/modules"
|
||||
if [[ -d "$mods" ]];then
|
||||
msg2 "Configuring: Calamares %s" "$config"
|
||||
|
||||
if [[ -f "$mods"/services-artix.conf ]]; then
|
||||
local svc init
|
||||
init="${INITSYS}" svc=$(yaml_array "${SERVICES[@]}") \
|
||||
yq -P 'with(.;
|
||||
.manager = env(init) |
|
||||
.services = env(svc) )' \
|
||||
-i "$mods"/services-artix.conf
|
||||
if [[ -f "$mods"/services-artix.conf ]]; then
|
||||
local svc init
|
||||
init="${INITSYS}" svc=$(yaml_array "${SERVICES[@]}") \
|
||||
yq -P 'with(.;
|
||||
.manager = env(init) |
|
||||
.services = env(svc) )' \
|
||||
-i "$mods"/services-artix.conf
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
#}}}
|
||||
|
@@ -13,7 +13,6 @@ prepare_boot_extras(){
|
||||
done
|
||||
|
||||
cp "$src"/boot/memtest86+/memtest.bin "$dest"/memtest
|
||||
cp "$src"/usr/share/licenses/common/GPL2/license.txt "$dest"/memtest.COPYING
|
||||
}
|
||||
|
||||
#}}}
|
||||
|
Reference in New Issue
Block a user