forked from neil/lxc-templates
added systemd-sysvcompat (/sbin/init missing when starting container)
Signed-off-by: Andreas Baumann <mail@andreasbaumann.cc>
This commit is contained in:
parent
558e61606f
commit
2b9c1833c1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user