1
0
mirror of https://github.com/lxc/lxc-templates.git synced 2024-12-22 06:20:13 +00:00

Merge pull request #23 from andreasbaumann/archlinux

added systemd-sysvcompat (/sbin/init missing when starting container)
This commit is contained in:
Christian Brauner 2019-11-06 00:02:11 +01:00 committed by GitHub
commit 0e20f5db0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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