Reinstitutes opensuse rpm package push and
introduces proper opensuse dpdk pull
Change-Id: Ie8f1f2f218bb5de1787d4f6c2f2a64fbaaed70fb
Signed-off-by: Ed Kern <ejk@cisco.com>
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
}
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 :