From edea7701dd3e6d74b7e7e94d2ee9e74f4b6e2539 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Sat, 16 Sep 2017 08:03:23 +0200 Subject: [PATCH] Package manamgement: Add deploy script Signed-off-by: Thomas Klaehn --- recipes-devtools/opkg/files/opkg.conf | 5 +++-- tools/scripts/sync.sh | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 tools/scripts/sync.sh diff --git a/recipes-devtools/opkg/files/opkg.conf b/recipes-devtools/opkg/files/opkg.conf index b4684c3..8180be1 100644 --- a/recipes-devtools/opkg/files/opkg.conf +++ b/recipes-devtools/opkg/files/opkg.conf @@ -24,8 +24,9 @@ # Offline mode (for use in constructing flash images offline) #option offline_root target -src/gz snapshots https://opkg.blackfinn.de/bbb +src/gz all https://opkg.blackfinn.de/pyro/all +src/gz beaglebone https://opkg.blackfinn.de/pyro/beaglebone +src/gz cortexa8hf-neon https://opkg.blackfinn.de/pyro/cortexa8hf-neon # Default destination for installed packages dest root / - diff --git a/tools/scripts/sync.sh b/tools/scripts/sync.sh new file mode 100755 index 0000000..4e0cff1 --- /dev/null +++ b/tools/scripts/sync.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ -n "$1" ]; then + rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress tmp/deploy/ipk/ tkl@proxy:/mnt/data/ipk/$1 +else + echo "Which branch?" + exit -1 +fi +