aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2017-04-15 17:30:22 +0200
committerMauro Sardara <msardara+fdio@cisco.com>2017-04-15 17:30:22 +0200
commit1564f6e750f5845823129300fcf2d1ca554d5b12 (patch)
tree1aca40fa057f09bdc6eb167ae40e37986abccc32
parent0e2c1893b4cf0e31aec7b731162fcb235db459f3 (diff)
Adding build number to ns3 package after building the emulators.
Change-Id: I5f295924db7995946764446e5e22e5e8948ae272 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
-rw-r--r--emu-radio/scripts/build-package.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/emu-radio/scripts/build-package.sh b/emu-radio/scripts/build-package.sh
index d77d1b64..127d785a 100644
--- a/emu-radio/scripts/build-package.sh
+++ b/emu-radio/scripts/build-package.sh
@@ -201,12 +201,7 @@ fi
BLD_NUMBER=${BUILD_NUMBER:-"1"}
# Install libns3
-
pushd ../ns3-packages
-mv libns3sx-3v5_3.24.1-6~xenial_amd64.deb libns3sx-3v5_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
-mv libns3sx-dev_3.24.1-6~xenial_amd64.deb libns3sx-dev_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
-mv ns3sx_3.24.1-6~xenial_amd64.deb ns3sx_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
-
sudo dpkg -i *.deb || true
sudo apt-get -f install -y --allow-unauthenticated || true
popd
@@ -223,4 +218,11 @@ pushd ..
build "-DLTE=ON -DWIFI=OFF"
make package
find . -not -name '*.deb' -not -name '*.rpm' -print0 | xargs -0 rm -rf -- || true
+popd
+
+# Change build number to ns3 packages
+pushd ../ns3-packages
+mv libns3sx-3v5_3.24.1-6~xenial_amd64.deb libns3sx-3v5_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
+mv libns3sx-dev_3.24.1-6~xenial_amd64.deb libns3sx-dev_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
+mv ns3sx_3.24.1-6~xenial_amd64.deb ns3sx_3.24.1-$BLD_NUMBER~xenial_amd64.deb || true
popd \ No newline at end of file