From 736809c2a3f0e014e0d0e0ef8649a125241d14ae Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Thu, 25 Jul 2019 14:56:31 +0200 Subject: [PATCH] Focus on specific packages --- letsencrypt-auto-source/letsencrypt-auto | 6 +++++- .../pieces/bootstrappers/rpm_python3_legacy.sh | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/letsencrypt-auto-source/letsencrypt-auto b/letsencrypt-auto-source/letsencrypt-auto index e0d9ea640..ec877e81c 100755 --- a/letsencrypt-auto-source/letsencrypt-auto +++ b/letsencrypt-auto-source/letsencrypt-auto @@ -493,6 +493,8 @@ BootstrapRpmCommon() { BOOTSTRAP_RPM_PYTHON3_LEGACY_VERSION=1 BootstrapRpmPython3Legacy() { + # Tested with: + # - CentOS 6 InitializeRPMCommonBase @@ -518,7 +520,9 @@ BootstrapRpmPython3Legacy() { # CentOS 6 must use rh-python36 from SCL if $TOOL list rh-python36 >/dev/null 2>&1; then - python_pkgs="rh-python36 + python_pkgs="rh-python36-python + rh-python36-python-virtualenv + rh-python36-python-devel " else error "No supported Python package available to install. Aborting bootstrap!" diff --git a/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh b/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh index 4804e6753..3f57bc5a8 100644 --- a/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh +++ b/letsencrypt-auto-source/pieces/bootstrappers/rpm_python3_legacy.sh @@ -3,6 +3,8 @@ BOOTSTRAP_RPM_PYTHON3_LEGACY_VERSION=1 BootstrapRpmPython3Legacy() { + # Tested with: + # - CentOS 6 InitializeRPMCommonBase @@ -28,7 +30,9 @@ BootstrapRpmPython3Legacy() { # CentOS 6 must use rh-python36 from SCL if $TOOL list rh-python36 >/dev/null 2>&1; then - python_pkgs="rh-python36 + python_pkgs="rh-python36-python + rh-python36-python-virtualenv + rh-python36-python-devel " else error "No supported Python package available to install. Aborting bootstrap!"