aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-02 13:18:34 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-02 13:18:34 +1300
commite9d0dd5df65eea669d34750ed9a4b505d68f6dc5 (patch)
tree63bd710bb9af1f938751c5fe556b4c5ca40f3a96
parentd4e12c019193026eda930d3bf4e1246b3391a2b4 (diff)
downloadtraccar-server-e9d0dd5df65eea669d34750ed9a4b505d68f6dc5.tar.gz
traccar-server-e9d0dd5df65eea669d34750ed9a4b505d68f6dc5.tar.bz2
traccar-server-e9d0dd5df65eea669d34750ed9a4b505d68f6dc5.zip
Add linux ARM setup package
-rwxr-xr-xsetup/package.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/setup/package.sh b/setup/package.sh
index cd07fc46c..c3c67b7a8 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -126,6 +126,17 @@ chmod +x out/bin/traccar
makeself out traccar.run "traccar" "mkdir $app; cp -rf * $app; $app/bin/traccar install"
zip -j traccar-linux-64.zip traccar.run linux/README.txt
+# linux arm
+
+cp wrapper/bin/wrapper-linux-armel-32 out/bin/
+cp wrapper/bin/wrapper-linux-armhf-32 out/bin/
+cp wrapper/lib/libwrapper-linux-armel-32.so out/lib/
+cp wrapper/lib/libwrapper-linux-armhf-32.so out/lib/
+chmod +x out/bin/traccar
+
+makeself out traccar.run "traccar" "mkdir $app; cp -rf * $app; if [ -z "`readelf -A /proc/self/exe | grep Tag_ABI_VFP_args`" ]; then mv $app/bin/wrapper-linux-armel-32 $app/bin/wrapper; mv $app/lib/libwrapper-linux-armel-32.so $app/lib/libwrapper.so; else mv $app/bin/wrapper-linux-armhf-32 $app/bin/wrapper; mv $app/lib/libwrapper-linux-armhf-32.so $app/lib/libwrapper.so; fi; $app/bin/traccar install"
+zip -j traccar-linux-arm.zip traccar.run linux/README.txt
+
# MACOSX PACKAGE
rm out/conf/linux.cfg