The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-templates/pull/36

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Devuan GPG keys has been copied into a position independent from current git engine
From 8af77c1136fdbcb099865dd41d018f91a50c9e8c Mon Sep 17 00:00:00 2001
From: Tanya Degurechaff
 <34323200+tanyaeleventhgodd...@users.noreply.github.com>
Date: Sun, 6 Sep 2020 20:13:38 +0200
Subject: [PATCH] Changed devuan gpg key remote location

Signed-off-by: Tanya <34323200+tanyaeleventhgodd...@users.noreply.github.com>
---
 templates/lxc-debian.in | 2 +-
 templates/lxc-devuan.in | 4 ++--
 templates/lxc-kali.in   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
index deeff29..2ddaead 100644
--- a/templates/lxc-debian.in
+++ b/templates/lxc-debian.in
@@ -42,7 +42,7 @@ LOCALSTATEDIR="@LOCALSTATEDIR@"
 LXC_TEMPLATE_CONFIG="@LXCTEMPLATECONFIG@"
 # Allows the lxc-cache directory to be set by environment variable
 LXC_CACHE_PATH=${LXC_CACHE_PATH:-"$LOCALSTATEDIR/cache/lxc"}
-[ -z "$DOWNLOAD_KEYRING" ] && DOWNLOAD_KEYRING=1
+DOWNLOAD_KEYRING=${DOWNLOAD_KEYRING:-1}
 
 find_interpreter()
 {
diff --git a/templates/lxc-devuan.in b/templates/lxc-devuan.in
index c1d7575..88db337 100644
--- a/templates/lxc-devuan.in
+++ b/templates/lxc-devuan.in
@@ -42,7 +42,7 @@ LOCALSTATEDIR="@LOCALSTATEDIR@"
 LXC_TEMPLATE_CONFIG="@LXCTEMPLATECONFIG@"
 # Allows the lxc-cache directory to be set by environment variable
 LXC_CACHE_PATH=${LXC_CACHE_PATH:-"$LOCALSTATEDIR/cache/lxc"}
-[ -z "$DOWNLOAD_KEYRING" ] && DOWNLOAD_KEYRING=1
+DOWNLOAD_KEYRING=${DOWNLOAD_KEYRING:-1}
 
 find_interpreter()
 {
@@ -350,7 +350,7 @@ apt-transport-https
     elif [ "$DOWNLOAD_KEYRING" = 1 ]; then 
         [ ! -d "/etc/apt/trusted.gpg.d" ] && 
lreleasekeyring="$cache/archive-key.gpg"
         if [[ "$(id -u)" == "0" ]]; then
-            wget 
https://git.devuan.org/devuan/devuan-keyring/raw/branch/master/keyrings/devuan-archive-keyring.gpg
 -O - --quiet \
+            wget https://files.devuan.org/devuan-archive-keyring.gpg -O - 
--quiet \
                 | gpg --import --no-default-keyring 
--keyring="${lreleasekeyring}"
             apt_gpg_opt="--keyring=${lreleasekeyring}"
         else
diff --git a/templates/lxc-kali.in b/templates/lxc-kali.in
index 0a8e6e6..e1db119 100644
--- a/templates/lxc-kali.in
+++ b/templates/lxc-kali.in
@@ -43,7 +43,7 @@ LOCALSTATEDIR="@LOCALSTATEDIR@"
 LXC_TEMPLATE_CONFIG="@LXCTEMPLATECONFIG@"
 # Allows the lxc-cache directory to be set by environment variable
 LXC_CACHE_PATH=${LXC_CACHE_PATH:-"$LOCALSTATEDIR/cache/lxc"}
-[ -z "$DOWNLOAD_KEYRING" ] && DOWNLOAD_KEYRING=1
+DOWNLOAD_KEYRING=${DOWNLOAD_KEYRING:-1}
 
 find_interpreter()
 {
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to