summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-23 13:30:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-23 13:30:30 -0400
commitbc12661f32692ab84c216c4fdeb8d9aee3656543 (patch)
treedaac4d3c254c0c3daa6723ad39c5ba311bf540bc /standalone
parent3c4c9d30c58c4820ec3c18c461051cc7685b6e5e (diff)
Standalone builds now check gpg signatures before upgrading.
Diffstat (limited to 'standalone')
-rw-r--r--standalone/android/Makefile1
-rwxr-xr-xstandalone/android/runshell1
2 files changed, 2 insertions, 0 deletions
diff --git a/standalone/android/Makefile b/standalone/android/Makefile
index 404841bc0..a11c0bcc1 100644
--- a/standalone/android/Makefile
+++ b/standalone/android/Makefile
@@ -76,6 +76,7 @@ build: start
cp $(GIT_ANNEX_ANDROID_SOURCETREE)/git/git.tar.gz $(GIT_ANNEX_ANDROID_SOURCETREE)/term/libs/armeabi/lib.git.tar.gz.so
git rev-parse HEAD > $(GIT_ANNEX_ANDROID_SOURCETREE)/term/libs/armeabi/lib.version.so
+ cp ../trustedkeys.gpg $(GIT_ANNEX_ANDROID_SOURCETREE)/term/libs/armeabi/lib.trustedkeys.so
mkdir -p ../../tmp/4.0 ../../tmp/4.3
diff --git a/standalone/android/runshell b/standalone/android/runshell
index ef6744494..f6a0138e9 100755
--- a/standalone/android/runshell
+++ b/standalone/android/runshell
@@ -53,6 +53,7 @@ buildtree () {
$cmd echo "exec $base/lib/lib.start.so" >> "$base/runshell"
$cmd chmod 755 runshell
+ $cmd cat "$base/lib/lib.trustedkeys.so" > "$base/bin/trustedkeys.gpg"
$cmd cat "$base/lib/lib.version.so" > "$base/installed-version"
$cmd echo "Installation complete"
}