on master help sign in
[fix] yum installation of 'Development Tools'

'yum install' does not support '@development-tools' notation for group installation. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commitbe08e5bfab2d67f9b1b910eb25bc073d5bff8916 authorMarkus Heiser <markus.heiser@darmarit.de> dateFri 18 Dec 2020, 22:32 (6 years ago) parent1a4524e
1 file changed+4−1
utils/lib.sh+4−1
utils/lib.sh+4−1
@@ -1408,7 +1408,7 @@ LXC_BASE_PACKAGES_arch="bash git base-devel python"
14081408LXC_BASE_PACKAGES_fedora="bash git @development-tools python"
14091409
14101410# yum packages
1411−LXC_BASE_PACKAGES_centos="bash git @development-tools python3"
1411+LXC_BASE_PACKAGES_centos="bash git python3"
14121412
14131413case $DIST_ID in
14141414 ubuntu|debian) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_debian}" ;;
@@ -1420,6 +1420,9 @@ esac
14201420
14211421lxc_install_base_packages() {
14221422 info_msg "install LXC_BASE_PACKAGES in container $1"
1423+ case $DIST_ID in
1424+ centos) yum groupinstall "Development Tools" -y ;;
1425+ esac
14231426 pkg_install "${LXC_BASE_PACKAGES}"
14241427}
14251428