LXC: add virtualenv to LXC_BASE_PACKAGES

Commit 09a40625 adds virtualenv dependency.  BTW remove deprecated
--no-site-packages.  Not having access to global site-packages is now the
default behavior.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-04-02 20:27:44 +02:00
parent 2441e24288
commit f32b4fcedd
3 changed files with 8 additions and 8 deletions

View file

@ -952,7 +952,7 @@ pkg_install() {
;;
arch)
# shellcheck disable=SC2068
pacman -S --noconfirm $@
pacman -Sy --noconfirm $@
;;
fedora)
# shellcheck disable=SC2068
@ -1098,13 +1098,13 @@ EOF
}
# apt packages
LXC_BASE_PACKAGES_debian="bash git build-essential python3"
LXC_BASE_PACKAGES_debian="bash git build-essential python3 virtualenv"
# pacman packages
LXC_BASE_PACKAGES_arch="bash git base-devel python"
LXC_BASE_PACKAGES_arch="bash git base-devel python python-virtualenv"
# dnf packages
LXC_BASE_PACKAGES_fedora="bash git @development-tools python"
LXC_BASE_PACKAGES_fedora="bash git @development-tools python virtualenv"
case $DIST_ID in
ubuntu|debian) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_debian}" ;;