Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade libnl3 version to 3.2.27-2, same version as in Debian Stretch #1795

Merged
merged 1 commit into from
Jun 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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