Skip to content

Commit

Permalink
[libnl3]: Upgrade libnl3 version to 3.2.27-2, same version as in Debi…
Browse files Browse the repository at this point in the history
…an Stretch (#1795)

Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
  • Loading branch information
qiluo-msft authored and lguohan committed Jun 19, 2018
1 parent 1c8bacb commit a8a7b79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
4 changes: 3 additions & 1 deletion rules/libnl3.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 6 additions & 11 deletions src/libnl3/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a8a7b79

Please sign in to comment.