[libnl3]: Upgrade libnl3 version to 3.2.27-2, same version as in Debian Stretch (#1795)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
This commit is contained in:
parent
1c8bacb007
commit
a8a7b795db
@ -1,7 +1,9 @@
|
||||
# libnl3
|
||||
|
||||
LIBNL3_VERSION = 3.2.27-1
|
||||
LIBNL3_VERSION_BASE = 3.2.27
|
||||
LIBNL3_VERSION = $(LIBNL3_VERSION_BASE)-2
|
||||
|
||||
export LIBNL3_VERSION_BASE
|
||||
export LIBNL3_VERSION
|
||||
|
||||
LIBNL3 = libnl-3-200_$(LIBNL3_VERSION)_amd64.deb
|
||||
|
@ -15,18 +15,13 @@ DERIVED_TARGETS = libnl-3-dev_$(LIBNL3_VERSION)_amd64.deb \
|
||||
|
||||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||
# Obtaining the libnl3
|
||||
rm -rf ./libnl3
|
||||
git clone https://github.com/qiluo-msft/libnl3.git
|
||||
pushd ./libnl3
|
||||
git checkout -f b77c0e49cb
|
||||
rm -rf ./libnl3-$(LIBNL3_VERSION_BASE)
|
||||
wget -O libnl3_$(LIBNL3_VERSION_BASE).orig.tar.gz -N "http://http.debian.net/debian/pool/main/libn/libnl3/libnl3_$(LIBNL3_VERSION_BASE).orig.tar.gz"
|
||||
wget -O libnl3_$(LIBNL3_VERSION).dsc -N "http://http.debian.net/debian/pool/main/libn/libnl3/libnl3_$(LIBNL3_VERSION).dsc"
|
||||
wget -O libnl3_$(LIBNL3_VERSION).debian.tar.xz -N "http://http.debian.net/debian/pool/main/libn/libnl3/libnl3_$(LIBNL3_VERSION).debian.tar.xz"
|
||||
dpkg-source -x libnl3_$(LIBNL3_VERSION).dsc
|
||||
|
||||
# Patch
|
||||
export QUILT_PATCHES=debian/patches
|
||||
quilt push
|
||||
quilt push
|
||||
quilt push
|
||||
quilt push
|
||||
quilt push
|
||||
pushd ./libnl3-$(LIBNL3_VERSION_BASE)
|
||||
dpkg-buildpackage -rfakeroot -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS)
|
||||
popd
|
||||
|
||||
|
Reference in New Issue
Block a user