build: remove opensuse build infra
- VPP on opensuse has not been supported for several releases. Type: fix Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I2b5316ad5c20a843b8936f4ceb473f932a5338d9
This commit is contained in:
committed by
Damjan Marion
parent
7360e3d78d
commit
bc35f469c8
@@ -26,18 +26,7 @@ PC=%
|
||||
|
||||
all: RPM
|
||||
|
||||
# SUSE rolling-release (a.k.a. Tumbleweed)
|
||||
ifeq ($(filter opensuse-tumbleweed,$(OS_ID)),$(OS_ID))
|
||||
SPEC_FILE='vpp-suse.spec'
|
||||
# SUSE osleap15
|
||||
else ifeq ($(filter opensuse-leap,$(OS_ID)),$(OS_ID))
|
||||
SPEC_FILE='vpp-suse.spec'
|
||||
# SUSE leap42.x
|
||||
else ifeq ($(filter opensuse,$(OS_ID)),$(OS_ID))
|
||||
SPEC_FILE='vpp-suse.spec'
|
||||
else
|
||||
SPEC_FILE='vpp.spec'
|
||||
endif
|
||||
|
||||
spec:
|
||||
@echo $(TARBALL)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Vendored
-3
@@ -9,9 +9,6 @@ Vagrant.configure(2) do |config|
|
||||
config.vm.box = "centos/7"
|
||||
config.vm.box_version = "1708.01"
|
||||
config.ssh.insert_key = false
|
||||
elsif distro == 'opensuse'
|
||||
config.vm.box = "opensuse/openSUSE-42.3-x86_64"
|
||||
config.vm.box_version = "1.0.4.20170726"
|
||||
elsif distro == 'ubuntu1804'
|
||||
config.vm.box = "bento/ubuntu-18.04"
|
||||
else
|
||||
|
||||
@@ -66,7 +66,5 @@ elif [ "$OS_ID" == "debian" ]; then
|
||||
elif [ "$OS_ID" == "centos" ]; then
|
||||
(cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a)
|
||||
$SUDOCMD make pkg-rpm
|
||||
elif [ "$OS_ID" == "opensuse" ]; then
|
||||
$SUDOCMD make pkg-rpm
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Figure out what system we are running on
|
||||
if [ "$(uname)" <> "Darwin" ]; then
|
||||
if [ "$(uname)" <> "Darwin" ] ; then
|
||||
OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
|
||||
OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
|
||||
fi
|
||||
|
||||
if [ "$OS_ID" == "ubuntu" ]; then
|
||||
if [ "$OS_ID" == "ubuntu" ] ; then
|
||||
$OS_CODENAME=$UBUNTU_CODENAME
|
||||
fi
|
||||
|
||||
if [ "$OS_ID" == "centos" ] || [ "$OS_ID" == "opensuse" ]; then
|
||||
if [ "$OS_ID" == "centos" ] ; then
|
||||
# Install uio-pci-generic
|
||||
sudo -E modprobe uio_pci_generic
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user