From a4aae6cd37a894a02698a40fbd60606a8e7e1873 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 11 Feb 2022 10:47:46 +0100 Subject: [PATCH] Move scripts --- transmogrify.sh => scripts/transmogrify.sh | 0 scripts/upload-bundle.sh | 19 +++++++++++++++++++ upload-bundle.sh | 19 ------------------- 3 files changed, 19 insertions(+), 19 deletions(-) rename transmogrify.sh => scripts/transmogrify.sh (100%) create mode 100755 scripts/upload-bundle.sh delete mode 100755 upload-bundle.sh diff --git a/transmogrify.sh b/scripts/transmogrify.sh similarity index 100% rename from transmogrify.sh rename to scripts/transmogrify.sh diff --git a/scripts/upload-bundle.sh b/scripts/upload-bundle.sh new file mode 100755 index 0000000..dc43c72 --- /dev/null +++ b/scripts/upload-bundle.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +# Upload packages and scripts for converting a plain PostmarketOS system into a Synit system + +set -eu + +HOST=${1:-pm-qemu} +SUDOPASS=${SUDOPASS:-user} + +ssh ${HOST} "echo ${SUDOPASS} | sudo -S apk add rsync" +rsync -avu --delete \ + ./transmogrify.sh \ + ../squeak.pr \ + ../packaging/synit-apk-key.pub \ + ../packaging/target/packages \ + ../../squeak-phone/images/current/squeak.changes \ + ../../squeak-phone/images/current/squeak.image \ + ../../squeak-phone/sounds \ + ${HOST}:. diff --git a/upload-bundle.sh b/upload-bundle.sh deleted file mode 100755 index 1207f9e..0000000 --- a/upload-bundle.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# Upload packages and scripts for converting a plain PostmarketOS system into a Synit system - -set -eu - -HOST=${1:-pm-qemu} -SUDOPASS=${SUDOPASS:-user} - -ssh ${HOST} "echo ${SUDOPASS} | sudo -S apk add rsync" -rsync -avu --delete \ - transmogrify.sh \ - squeak.pr \ - packaging/synit-apk-key.pub \ - packaging/target/packages \ - ../squeak-phone/images/current/squeak.changes \ - ../squeak-phone/images/current/squeak.image \ - ../squeak-phone/sounds \ - ${HOST}:.