diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-15 17:45:13 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-15 17:47:10 +0200 |
commit | 39958cb82fe454fa745221a16a4ccabbfd33498c (patch) | |
tree | af74eb195c839ed8abf684a776eb672c04e7735b | |
parent | 6bcb173cf73446c11e4184652a6c3b6a1ded4fca (diff) | |
download | vyos-build-39958cb82fe454fa745221a16a4ccabbfd33498c.tar.gz vyos-build-39958cb82fe454fa745221a16a4ccabbfd33498c.zip |
hostap: T4584: add git version to Debian package
(cherry picked from commit 8443b98f54c9c8e2a936301b9dbcdcd96c4d543e)
-rwxr-xr-x | packages/hostap/build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/hostap/build.sh b/packages/hostap/build.sh index a951148c..90b3358c 100755 --- a/packages/hostap/build.sh +++ b/packages/hostap/build.sh @@ -20,5 +20,9 @@ rm -rf ${SRC}/debian/patches # Build Debian package cd ${SRC} +echo "I: Create new Debian Package version" +version="$(git describe --tags | tr _ .)" +dch -v ${version:7} "New version to support AES-GCM-256 for MACsec" -b + echo "I: Build Debian hostap Package" dpkg-buildpackage -us -uc -tc -b -Ppkg.wpa.nogui -d |