added systemd-sysvcompat (/sbin/init missing when starting container)

Signed-off-by: Andreas Baumann <mail@andreasbaumann.cc>
This commit is contained in:
Andreas Baumann 2019-10-31 14:29:30 +01:00
parent 558e61606f
commit 2b9c1833c1

View File

@ -48,7 +48,7 @@ shared_config="@LXCTEMPLATECONFIG@/archlinux.common.conf"
# by default, install 'base' except the kernel # by default, install 'base' except the kernel
pkg_blacklist="linux" pkg_blacklist="linux"
base_packages=() base_packages=("systemd-sysvcompat")
for pkg in $(pacman -Sqg base); do for pkg in $(pacman -Sqg base); do
[ "${pkg_blacklist#*$pkg}" = "$pkg_blacklist" ] && base_packages+=($pkg) [ "${pkg_blacklist#*$pkg}" = "$pkg_blacklist" ] && base_packages+=($pkg)
done done