-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreate_deb_tarballs.sh
More file actions
executable file
·52 lines (44 loc) · 1.61 KB
/
create_deb_tarballs.sh
File metadata and controls
executable file
·52 lines (44 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/bash
read -p "Are you sure? Double check the script! Otherwise press ctr-c."
VERSION=6.3.7
cd ~/tmp
#raspbian
rm -rf tmp tmp.zip
wget "https://connect.consoden.se/safir/view/All/job/Build%20tag/Config=Release,label=debian-jessie-rpi-build/lastSuccessfulBuild/artifact/tmp/*zip*/tmp.zip"
unzip tmp.zip
cd tmp
tar cvfj safir-sdk-core_$VERSION-1_armhf-raspbian-jessie.debs.tar.bz2 *.deb
mv *.tar.bz2 ..
cd ..
#14.04 32
rm -rf tmp tmp.zip
wget "https://connect.consoden.se/safir/view/All/job/Build%20tag/Config=Release,label=ubuntu-trusty-lts-32-build/lastSuccessfulBuild/artifact/tmp/*zip*/tmp.zip"
unzip tmp.zip
cd tmp
tar cvfj safir-sdk-core_$VERSION-1_i386-Ubuntu-14.04.debs.tar.bz2 *.deb
mv *.tar.bz2 ..
cd ..
#14.04 64
rm -rf tmp tmp.zip
wget "https://connect.consoden.se/safir/view/All/job/Build%20tag/Config=Release,label=ubuntu-trusty-lts-64-build/lastSuccessfulBuild/artifact/tmp/*zip*/tmp.zip"
unzip tmp.zip
cd tmp
tar cvfj safir-sdk-core_$VERSION-1_amd64-Ubuntu-14.04.debs.tar.bz2 *.deb
mv *.tar.bz2 ..
cd ..
#16.04 32
rm -rf tmp tmp.zip
wget "https://connect.consoden.se/safir/view/All/job/Build%20tag/Config=Release,label=ubuntu-xenial-lts-32-build/lastSuccessfulBuild/artifact/tmp/*zip*/tmp.zip"
unzip tmp.zip
cd tmp
tar cvfj safir-sdk-core_$VERSION-1_i386-Ubuntu-16.04.debs.tar.bz2 *.deb
mv *.tar.bz2 ..
cd ..
#16.04 64
rm -rf tmp tmp.zip
wget "https://connect.consoden.se/safir/view/All/job/Build%20tag/Config=Release,label=ubuntu-xenial-lts-64-build/lastSuccessfulBuild/artifact/tmp/*zip*/tmp.zip"
unzip tmp.zip
cd tmp
tar cvfj safir-sdk-core_$VERSION-1_amd64-Ubuntu-16.04.debs.tar.bz2 *.deb
mv *.tar.bz2 ..
cd ..