Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (13 sloc) 486 Bytes
#!/bin/bash
do_deploy() {
SRC_DIR=/build/tmp/$2/$3-glibc/deploy/$1
DEPLOY_DIR=/lora-gateway-os/deploy/$2/$3/$1
mkdir -p $DEPLOY_DIR
find $SRC_DIR/images -type f -name "*.sdimg.gz" -exec cp {} $DEPLOY_DIR \;
find $SRC_DIR/images -type f -name "*.mender" -exec cp {} $DEPLOY_DIR \;
cp -R $SRC_DIR/licenses $DEPLOY_DIR
}
VERSION="2.0.0test4"
do_deploy $VERSION "raspberrypi" "raspberrypi3"
do_deploy $VERSION "wifx" "lorix-one-sd"
do_deploy $VERSION "wifx" "lorix-one-512-sd"
You can’t perform that action at this time.