Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
7d949afeb7 | |||
6f037f6faf |
@@ -8,7 +8,7 @@
|
||||
# the dist release; default: auto
|
||||
# ISO_VERSION=$(date +%Y%m%d)
|
||||
|
||||
# possible values: openrc, runit, s6, suite66
|
||||
# possible values: openrc, runit, s6, suite66, dinit
|
||||
# INITSYS="openrc"
|
||||
|
||||
# gpg key; leave empty or commented to skip img signing
|
||||
|
@@ -36,6 +36,11 @@ write_services_suite66_conf(){
|
||||
write_services_conf 'svDir' '/etc/66/service' 'runsvDir' '/var/lib/66/system' > "$conf"
|
||||
}
|
||||
|
||||
write_services_dinit_conf(){
|
||||
local conf="$1"/services-dinit.conf
|
||||
write_services_conf 'initdDir' '/etc/dinit.d' 'runsvDir' '/etc/dinit.d/boot.d' > "$conf"
|
||||
}
|
||||
|
||||
configure_calamares(){
|
||||
local mods="$1/etc/calamares/modules"
|
||||
if [[ -d "$mods" ]];then
|
||||
|
@@ -53,4 +53,14 @@ add_svc_suite66(){
|
||||
done
|
||||
}
|
||||
|
||||
add_svc_dinit(){
|
||||
local mnt="$1" names="$2"
|
||||
for svc in $names; do
|
||||
if [[ -d $mnt/etc/dinit.d/boot.d ]]; then
|
||||
msg2 "Setting %s: [%s]" "${INITSYS}" "$svc"
|
||||
chroot "$mnt" ln -s ../"$svc" /etc/dinit.d/boot.d/"$svc" &>/dev/null
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
#}}}
|
||||
|
@@ -31,7 +31,7 @@ load_pkg_config(){
|
||||
python-{world,galaxy}
|
||||
)
|
||||
|
||||
local init_tree=(packages-{openrc,runit,s6,suite66})
|
||||
local init_tree=(packages-{openrc,runit,s6,suite66,dinit})
|
||||
|
||||
local desktop_tree=(
|
||||
packages-{kf5,plasma,kde,qt6}
|
||||
|
Reference in New Issue
Block a user