summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan <bryan@turbojets.net>2017-05-23 21:12:14 -0700
committerBryan <bryan@turbojets.net>2017-05-23 21:12:14 -0700
commit444b3414851aa0c1c9f89140f69c06b618fc931b (patch)
treeb96eb59771f6dffc12296a81acecc0e3209119fc
parent5201df3750d1c7125a5b1f082ee88ab81d0d222d (diff)
add contributor credit, publicize repo signing key
publicize repo signing key as part of startup, previously was only doing this at the end of the update_mirror.sh script
-rw-r--r--NOTICE3
-rwxr-xr-xassets/startup.sh5
2 files changed, 7 insertions, 1 deletions
diff --git a/NOTICE b/NOTICE
index 98aab4c..d60a94e 100644
--- a/NOTICE
+++ b/NOTICE
@@ -2,4 +2,5 @@ docker-aptly
2Copyright 2016 Bryan J. Hong 2Copyright 2016 Bryan J. Hong
3 3
4This product contains software (https://github.com/bryanhong/docker-aptly) developed 4This product contains software (https://github.com/bryanhong/docker-aptly) developed
5by Bryan Hong (http://github.com/bryanhong) licensed under the Apache License. 5by Bryan Hong (http://github.com/bryanhong), and Jan ńĆapek (https://github.com/honzik666)
6licensed under the Apache License.
diff --git a/assets/startup.sh b/assets/startup.sh
index 46d21f0..49c6b70 100755
--- a/assets/startup.sh
+++ b/assets/startup.sh
@@ -8,6 +8,11 @@ if [[ ! -f /opt/aptly/aptly.sec ]] || [[ ! -f /opt/aptly/aptly.pub ]]; then
8 gpg --batch --gen-key /opt/gpg_batch 8 gpg --batch --gen-key /opt/gpg_batch
9fi 9fi
10 10
11# Export the GPG Public key
12if [[ ! -f /opt/aptly/public/aptly_repo_signing.key ]]; then
13 gpg --export --armor > /opt/aptly/public/aptly_repo_signing.key
14fi
15
11# Import Ubuntu keyrings 16# Import Ubuntu keyrings
12gpg --list-keys 17gpg --list-keys
13gpg --no-default-keyring \ 18gpg --no-default-keyring \