[lxc-devel] [lxc/master] implemented requested changes
AndrewElvisDeng on Github
lxc-bot at linuxcontainers.org
Sat Nov 21 01:58:55 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 363 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201120/3ab29503/attachment.bin>
-------------- next part --------------
From 27408d595c926591db9eb906d41ba43997f61c38 Mon Sep 17 00:00:00 2001
From: Andrew Deng <adeng1433 at gmail.com>
Date: Fri, 20 Nov 2020 19:57:09 -0600
Subject: [PATCH] implemented requested changes
Signed-off-by: Andrew Deng <adeng1433 at gmail.com>
---
templates/lxc-download.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/templates/lxc-download.in b/templates/lxc-download.in
index 278487d22c..39fafc2358 100644
--- a/templates/lxc-download.in
+++ b/templates/lxc-download.in
@@ -130,6 +130,10 @@ gpg_setup() {
mkdir -p "${DOWNLOAD_TEMP}/gpg"
chmod 700 "${DOWNLOAD_TEMP}/gpg"
+
+ if [ -z "${STANDARD_RESOLVER:-}" ]; then
+ echo "standard-resolver" > "${DOWNLOAD_TEMP}/gpg/dirmngr.conf"
+ fi
export GNUPGHOME="${DOWNLOAD_TEMP}/gpg"
success=
More information about the lxc-devel
mailing list