From acb71ee3795b22328a997133e1c766136fd12f8b Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 6 Aug 2024 12:22:39 -0700 Subject: [PATCH] Allow Amazon Linux 2 rpm installs Signed-off-by: Derek Nola --- install.sh | 2 +- install.sh.sha256sum | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 71fffa4a50..b19f6cad85 100755 --- a/install.sh +++ b/install.sh @@ -583,7 +583,7 @@ setup_selinux() { rpm_target=coreos rpm_site_infix=coreos package_installer=rpm-ostree - elif [ "${VERSION_ID%%.*}" = "7" ]; then + elif [ "${VERSION_ID%%.*}" = "7" ] || ( [ "${ID:-}" = amzn ] && [ "${VERSION_ID%%.*}" = "2" ] ); then rpm_target=el7 rpm_site_infix=centos/7 package_installer=yum diff --git a/install.sh.sha256sum b/install.sh.sha256sum index 54a49ea656..7a767af64c 100644 --- a/install.sh.sha256sum +++ b/install.sh.sha256sum @@ -1 +1 @@ -c15d672e6c8e4c2ec418da49202340e9d9824f6556a2509dbfc8a36004ca935a install.sh +10adf00df73b55e10b0e17dbf423f3b2707b8540c90cfa8b07c34f9688c23a30 install.sh