misc: Correct and add new upload script

This commit is contained in:
Holger Hans Peter Freyther 2014-08-12 20:11:15 +02:00
parent 32b1a2d092
commit 9267a28027
3 changed files with 17 additions and 2 deletions

View File

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

View File

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

View File

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