X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=94ba90d0821c82ea79febadaf3b46b284df41f64;hb=f289ca6bc6be76216a23320dab8aa4ce4b284c05;hp=c3380e7455e0019b4c93bc532ea1fe25fb9676aa;hpb=d65346098daf8967e882d0299679a131769c9be9;p=vpp.git diff --git a/Makefile b/Makefile index c3380e7455e..94ba90d0821 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,7 @@ endif ifeq ($(findstring y,$(UNATTENDED)),y) CONFIRM=-y +FORCE=--force-yes endif .PHONY: help bootstrap wipe wipe-release build build-release rebuild rebuild-release @@ -128,11 +129,11 @@ bootstrap: $(BR)/.bootstrap.ok install-dep: ifeq ($(OS_ID),ubuntu) ifeq ($(OS_VERSION_ID),14.04) - @sudo -E apt-get $(CONFIRM) install software-properties-common - @sudo -E add-apt-repository $(CONFIRM) ppa:openjdk-r/ppa + @sudo -E apt-get $(CONFIRM) $(FORCE) install software-properties-common + @sudo -E add-apt-repository ppa:openjdk-r/ppa $(CONFIRM) @sudo -E apt-get update endif - @sudo -E apt-get $(CONFIRM) install $(DEB_DEPENDS) + @sudo -E apt-get $(CONFIRM) $(FORCE) install $(DEB_DEPENDS) else ifneq ("$(wildcard /etc/redhat-release)","") @sudo yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS) @sudo yum install $(CONFIRM) $(RPM_DEPENDS)