Fix enabling of systemd services
This commit is contained in:
parent
41e6d25056
commit
2e5de7acb5
1 changed files with 1 additions and 2 deletions
|
@ -132,14 +132,13 @@ if [[ $type == 'archlinux' ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable systemd services if requested
|
# Enable systemd services if requested
|
||||||
# # FIXME: BUG?
|
|
||||||
if [[ -e arkanium-build.d/$variant/systemd.services ]]; then
|
if [[ -e arkanium-build.d/$variant/systemd.services ]]; then
|
||||||
|
|
||||||
printf '\e[1;34m-->\e[0m\e[1m Enabling systemd services...\e[0m\n'
|
printf '\e[1;34m-->\e[0m\e[1m Enabling systemd services...\e[0m\n'
|
||||||
|
|
||||||
readarray services < arkanium-build.d/$variant/systemd.services
|
readarray services < arkanium-build.d/$variant/systemd.services
|
||||||
|
|
||||||
for service in services; do
|
for service in ${services[*]}; do
|
||||||
arch-chroot $workdir systemctl enable $service
|
arch-chroot $workdir systemctl enable $service
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue