From 11eecaa08ee04296fb8893b16d3930042ad82aed Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 4 May 2024 12:39:32 +0200 Subject: [PATCH] =?UTF-8?q?wip/alma=E2=86=92alpine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cd.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/cd.sh b/cd.sh index 855aafc..89c8bee 100644 --- a/cd.sh +++ b/cd.sh @@ -85,6 +85,35 @@ clean_requirements_on_remove=True gpgcheck=1 installonly_limit=3 skip_if_unavailable=False +" + CD_PM_HTTPS_PATH="/etc/dnf/dnf.conf.d/https.conf" + CD_PM_HTTPS_TEXT="sslverify=False" + CD_PYTHON_COMMAND="python3.11" + CD_PYTHON_PACKAGE="python3.11" + CD_PYTHON_PACKAGES="/usr/lib64/python3.11/site-packages" + ;; + "${CD_OS_ALPINE}") + CD_OS_REPO="${CD_DEFAULT_REPO_ALMA}" + [ "${CD_REPO_ALMA}" ] && CD_OS_REPO="${CD_REPO_ALMA}" + case "${CD_OS_VERSION}" in + "8"|"9") ;; + *) cd_error_os "CD_OS_VERSION" ;; + esac + CD_CA_ROOT="/etc/pki/ca-trust/source/anchors" + CD_CMD_CA="update-ca-trust" + CD_CMD_CLEAN="dnf clean all" + CD_CMD_INSTALL="dnf install --assumeyes" + CD_CMD_UPDATE="dnf makecache" + CD_CMD_UPGRADE="dnf upgrade --assumeyes" + CD_PKG_PKG="" + CD_PM_CONF_PATH="/etc/dnf/dnf.conf" + CD_PM_CONF_TEXT="\ +[main] +best=True +clean_requirements_on_remove=True +gpgcheck=1 +installonly_limit=3 +skip_if_unavailable=False " CD_PM_HTTPS_PATH="/etc/dnf/dnf.conf.d/https.conf" CD_PM_HTTPS_TEXT="sslverify=False" @@ -462,6 +491,7 @@ CD_ERROR_CI=2 CD_ERROR_OS=1 CD_OS_ALMA="alma" +CD_OS_ALPINE="alpine" CD_OS_DEBIAN="debian" # run