Fix issue with apt-get update not being run on Ubuntu 16.04
Change-Id: Ic05b86c4ea9b62afbf03a2a36c4a2ef45f5c140b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
(cherry picked from commit eb82e7f27c
)
This commit is contained in:

committed by
Dave Wallace

parent
e5bf04dc3c
commit
88d9b3be0e
2
Makefile
2
Makefile
@ -157,8 +157,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 yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
|
||||
|
Reference in New Issue
Block a user