Remove systemd.services
This commit is contained in:
parent
fe4f0d8a94
commit
28cb12de16
1 changed files with 0 additions and 13 deletions
13
arkdep-build
13
arkdep-build
|
@ -137,19 +137,6 @@ if [[ $type == 'archlinux' ]]; then
|
||||||
arch-chroot $workdir pacman -S --noconfirm ${packages[*]} || cleanup_and_quit 'Failed to install base packages'
|
arch-chroot $workdir pacman -S --noconfirm ${packages[*]} || cleanup_and_quit 'Failed to install base packages'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable systemd services if requested
|
|
||||||
if [[ -e $configs_dir/$variant/systemd.services ]]; then
|
|
||||||
|
|
||||||
printf '\e[1;34m-->\e[0m\e[1m Enabling systemd services\e[0m\n'
|
|
||||||
|
|
||||||
readarray services < $configs_dir/$variant/systemd.services
|
|
||||||
|
|
||||||
for service in ${services[*]}; do
|
|
||||||
arch-chroot $workdir systemctl enable $service
|
|
||||||
done
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Clear pacman cache
|
# Clear pacman cache
|
||||||
arch-chroot $workdir pacman --noconfirm -Scc
|
arch-chroot $workdir pacman --noconfirm -Scc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue