mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add Debian 12 Bookworm; ignore core-utils in almalinux (#4836)
Add codename `bookworm` to the distro matrix during Artifactory uploads allowing Debian 12 clients to install `rippled` packages. Ignore installing conflicting `core-utils` packages during almalinux package smoke tests.
This commit is contained in:
@@ -20,7 +20,7 @@ RIPPLED_REPORTING_DBG_PKG=$(ls rippled-reporting-dbgsym_*.*deb)
|
|||||||
# TODO - where to upload src tgz?
|
# TODO - where to upload src tgz?
|
||||||
RIPPLED_SRC=$(ls rippled_*.orig.tar.gz)
|
RIPPLED_SRC=$(ls rippled_*.orig.tar.gz)
|
||||||
DEB_MATRIX=";deb.component=${COMPONENT};deb.architecture=amd64"
|
DEB_MATRIX=";deb.component=${COMPONENT};deb.architecture=amd64"
|
||||||
for dist in buster bullseye bionic focal jammy; do
|
for dist in bookworm buster bullseye bionic focal jammy; do
|
||||||
DEB_MATRIX="${DEB_MATRIX};deb.distribution=${dist}"
|
DEB_MATRIX="${DEB_MATRIX};deb.distribution=${dist}"
|
||||||
done
|
done
|
||||||
echo "{ \"debs\": {" > "${TOPDIR}/files.info"
|
echo "{ \"debs\": {" > "${TOPDIR}/files.info"
|
||||||
|
|||||||
@@ -62,9 +62,10 @@ else
|
|||||||
yum -y update
|
yum -y update
|
||||||
if [ "${install_from}" = "repo" ] ; then
|
if [ "${install_from}" = "repo" ] ; then
|
||||||
pkgs=("yum-utils coreutils util-linux")
|
pkgs=("yum-utils coreutils util-linux")
|
||||||
if [ "$ID" = "rocky" ]; then
|
case "$ID" in
|
||||||
pkgs="${pkgs[@]/coreutils}"
|
rocky|almalinux)
|
||||||
fi
|
pkgs="${pkgs[@]/coreutils}"
|
||||||
|
esac
|
||||||
yum install -y $pkgs
|
yum install -y $pkgs
|
||||||
REPOFILE="/etc/yum.repos.d/artifactory.repo"
|
REPOFILE="/etc/yum.repos.d/artifactory.repo"
|
||||||
echo "[Artifactory]" > ${REPOFILE}
|
echo "[Artifactory]" > ${REPOFILE}
|
||||||
|
|||||||
Reference in New Issue
Block a user