We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b70d4ea commit 95dc267Copy full SHA for 95dc267
scripts/loraserver-prepare-deploy
@@ -0,0 +1,19 @@
1
+#!/bin/bash
2
+
3
4
+do_deploy() {
5
+ SRC_DIR=/build/tmp/$2/$3-glibc/deploy/$1
6
+ DEPLOY_DIR=/lora-gateway-os/deploy/$2/$3/$1
7
8
+ mkdir -p $DEPLOY_DIR
9
10
+ cp $SRC_DIR/images/*.gz $DEPLOY_DIR
11
+ cp -R $SRC_DIR/licenses $DEPLOY_DIR
12
+}
13
14
15
+VERSION="2.0.0test1"
16
17
+do_deploy $VERSION "raspberrypi" "raspberrypi3"
18
+do_deploy $VERSION "wifx" "sama5d4-lorix-one-sd"
19
+do_deploy $VERSION "wifx" "sama5d4-lorix-one-512-sd"
0 commit comments