aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTianyu Li <tianyu.li@arm.com>2022-03-03 10:49:39 +0800
committerMatthew Smith <mgsmith@netgate.com>2022-03-10 19:40:42 +0000
commitab5a124b1dca6080c4a3a8c241ec9b8d12c24fb9 (patch)
tree49b8b8cd1a258582e5d790b71abc9df18a16a12d /Makefile
parent562cfa407560fc8783d3b645c30cf01873a4d11e (diff)
build: fix centos 8 steam build install-dep
make install-dep sometimes failed at downloading metadata for repository 'powertools-source': disable unnecessary powertools-source repo. Type: fix Fixes: 1affb31ef528 ("build: fix centos-8 'make install-deps'") Signed-off-by: Tianyu Li <tianyu.li@arm.com> Change-Id: I481d6106eea38190b3ddd79e8614b2ead7130807
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index def06a3656a..6583a291ebf 100644
--- a/Makefile
+++ b/Makefile
@@ -324,7 +324,7 @@ ifeq ($(OS_ID),rhel)
else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
@sudo -E dnf install $(CONFIRM) dnf-plugins-core epel-release
@sudo -E dnf config-manager --set-enabled \
- $(shell dnf repolist all 2>/dev/null|grep -i powertools|cut -d' ' -f1)
+ $(shell dnf repolist all 2>/dev/null|grep -i powertools|cut -d' ' -f1|grep -v source)
@sudo -E dnf groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
@sudo -E dnf install --skip-broken $(CONFIRM) $(RPM_DEPENDS)
else ifeq ($(OS_ID),centos)