From 60222270fb1a4d85d8598bcbc4dec7c11ada101f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Tue, 14 Jun 2022 21:15:49 +0200 Subject: [PATCH] Install fuse-sshfs rpm from epel, not powertools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anders F Björklund --- pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh b/pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh index 0f54defc87b..c9790818acd 100644 --- a/pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh +++ b/pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh @@ -67,6 +67,11 @@ elif command -v dnf >/dev/null 2>&1; then dnf_install_flags="${dnf_install_flags} --repo ol8_baseos_latest --repo ol8_codeready_builder" elif grep -q "release 8" /etc/system-release; then dnf_install_flags="${dnf_install_flags} --enablerepo powertools" + elif grep -q "release 9" /etc/system-release; then + # shellcheck disable=SC2086 + dnf install ${dnf_install_flags} epel-release + dnf config-manager --disable epel >/dev/null 2>&1 + dnf_install_flags="${dnf_install_flags} --enablerepo epel" fi # shellcheck disable=SC2086 dnf install ${dnf_install_flags} ${pkgs}