From f409e01aa6d04d0b4ac062e6512fd4e625a4e903 Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Tue, 20 May 2025 17:49:26 +0200 Subject: [PATCH] Don't install weak dependencies on RHEL-based systems Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- hack/install-edge.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hack/install-edge.sh b/hack/install-edge.sh index 93678f1..5d49238 100644 --- a/hack/install-edge.sh +++ b/hack/install-edge.sh @@ -38,7 +38,10 @@ install_required_packages() { apt-get update -yq apt-get install -yq curl runc bridge-utils iptables iptables-persistent elif $(has_dnf); then - dnf install -y --allowerasing curl runc iptables-services bridge-utils which + dnf install -y \ + --allowerasing \ + --setopt=install_weak_deps=False \ + curl runc iptables-services bridge-utils which elif $(has_pacman); then pacman -Syy pacman -Sy curl runc bridge-utils