From: Ed Warnicke Date: Thu, 2 Feb 2017 00:08:51 +0000 (-0800) Subject: Fix issue with apt-get update not being run on Ubuntu 16.04 X-Git-Tag: v17.04-rc1~284 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=eb82e7f27c6f8fe84838e6e2914579825c455632;p=vpp.git Fix issue with apt-get update not being run on Ubuntu 16.04 Change-Id: Ic05b86c4ea9b62afbf03a2a36c4a2ef45f5c140b Signed-off-by: Ed Warnicke --- diff --git a/Makefile b/Makefile index 1a01846b6dd..b50d203914e 100644 --- a/Makefile +++ b/Makefile @@ -162,8 +162,8 @@ ifeq ($(OS_ID),ubuntu) ifeq ($(OS_VERSION_ID),14.04) @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 update @sudo -E apt-get $(CONFIRM) $(FORCE) install $(DEB_DEPENDS) else ifneq ("$(wildcard /etc/redhat-release)","") @sudo -E yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)