VPP: opensuse dpdk proper pull and push 59/11859/1
authorEd Kern <ejk@cisco.com>
Tue, 17 Apr 2018 21:43:41 +0000 (15:43 -0600)
committerEd Kern <ejk@cisco.com>
Tue, 17 Apr 2018 21:43:41 +0000 (15:43 -0600)
Reinstitutes opensuse rpm package push and
introduces proper opensuse dpdk pull

Change-Id: Ie8f1f2f218bb5de1787d4f6c2f2a64fbaaed70fb
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/scripts/setup_vpp_dpdk_dev_env.sh
jjb/vpp/include-raw-vpp-maven-push.sh

index e16b11c..f2ceb53 100644 (file)
@@ -25,6 +25,16 @@ gpgcheck=0
 EOF
             sudo mv fdio-master.repo /etc/yum.repos.d/fdio-master.repo
             sudo yum -y install vpp-dpdk-devel || true
+        elif [ "$OS_ID" == "opensuse" ]; then
+            sudo cat << EOF > fdio-master.repo
+[fdio-master]
+name=fd.io master branch latest merge
+baseurl=${REPO_URL}
+enabled=1
+gpgcheck=0
+EOF
+            sudo mv fdio-master.repo /etc/yum/repos.d/fdio-master.repo
+            sudo yum -y install vpp-dpdk-devel || true
         fi
     fi
 }
index cec22da..086258e 100644 (file)
@@ -32,12 +32,12 @@ elif [ "${OS}" == "centos7" ]; then
     do
         push_rpm "$i"
     done
-elif [ "${OS}" == "opensuse" ]; then
-    # Find the files
-    RPMS=$(find . -type f -iname '*.rpm')
-    for i in $RPMS
-    do
-        push_rpm "$i"
-    done
+elif [ "${OS}" == "opensuse" ]; then
+    # Find the files
+    RPMS=$(find . -type f -iname '*.rpm')
+    for i in $RPMS
+    do
+        push_rpm "$i"
+    done
 fi
 # vim: ts=4 sw=4 sts=4 et ft=sh :