upload: Add different upload scripts for new build paths

Change the scripts for the different build paths and add the v2
variant for the new platforms.
This commit is contained in:
Holger Hans Peter Freyther 2017-05-21 23:55:42 +08:00
parent 3528d5f37d
commit 8ebed4c07d
3 changed files with 18 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ `pwd` != '/home/sysmocom/generic-poky/build.sysmobsc' ]; then
if [ `pwd` != '/home/yoctopyrobuild/build.sysmobsc-v1' ]; then
echo "Must be called from the sysmoBSC build directory"
exit 0
fi

16
sysmocom-upload-bsc-v2.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
if [ `pwd` != '/home/yoctopyrobuild/build.sysmobsc-v2' ]; then
echo "Must be called from the sysmoBSC build directory"
exit 0
fi
rsync --delete -avz tmp/deploy/ipk/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/ipk
rsync --delete -avz tmp/deploy/images/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/images
rsync --delete -avz tmp/deploy/tools/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/tools
rsync --delete -avz tmp/deploy/sdk/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/sdk
rsync --delete -avz tmp/cache/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/cache-state
rsync --delete -avz cache/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/cache
rsync --delete -avz conf/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/conf
rsync -avz tmp/deploy/sources/ generic@sysmocom-downloads:sysmobsc-v2/201705-testing/sources

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ `pwd` != '/home/sysmocom/generic-poky/build' ]; then
if [ `pwd` != '/home/yoctopyrobuild/build.sysmobts' ]; then
echo "Must be called from the sysmoBTS build directory"
exit 0
fi