build: remove OS distros which are EOL 79/29079/2
authorDave Wallace <dwallacelf@gmail.com>
Thu, 24 Sep 2020 16:30:46 +0000 (12:30 -0400)
committerDamjan Marion <dmarion@me.com>
Sat, 26 Sep 2020 11:19:02 +0000 (11:19 +0000)
Type: fix

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: If80ff6bfbd42779a663af1e7dcfff80d75f47f1e

Makefile

index 6a4886f..5af0d57 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -83,10 +83,6 @@ else ifeq ($(OS_VERSION_ID),20.04)
        DEB_DEPENDS += libssl-dev
        DEB_DEPENDS += libelf-dev # for libbpf (af_xdp)
        LIBFFI=libffi7
-else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-8)
-       DEB_DEPENDS += libssl-dev
-       DEB_DEPENDS += python-dev python-all python-pip python-virtualenv
-       APT_ARGS = -t jessie-backports
 else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-9)
        DEB_DEPENDS += libssl1.0-dev
        DEB_DEPENDS += python-all python-pip
@@ -278,13 +274,6 @@ bootstrap:
 .PHONY: install-dep
 install-dep:
 ifeq ($(filter ubuntu debian,$(OS_ID)),$(OS_ID))
-ifeq ($(OS_VERSION_ID),14.04)
-       @sudo -E apt-get $(CONFIRM) $(FORCE) install software-properties-common
-endif
-ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-8)
-       @grep -q jessie-backports /etc/apt/sources.list /etc/apt/sources.list.d/* 2> /dev/null \
-           || ( echo "Please install jessie-backports" ; exit 1 )
-endif
        @sudo -E apt-get update
        @sudo -E apt-get $(APT_ARGS) $(CONFIRM) $(FORCE) install $(DEB_DEPENDS)
 else ifneq ("$(wildcard /etc/redhat-release)","")