[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 11/16] tests/docker: add support for DEB_KEYRING
From: |
Alex Bennée |
Subject: |
[PATCH v3 11/16] tests/docker: add support for DEB_KEYRING |
Date: |
Fri, 24 Jul 2020 07:45:04 +0100 |
For installing stuff from sid or ports you may need to manually
specify the location of the keyring. You can even import keys into
your personal keyring and point it there, e.g.:
gpg --keyserver keyring.debian.org --recv-keys 84C573CD4E1AFD6C
make docker-binfmt-image-debian-sid-hppa DEB_TYPE=sid DEB_ARCH=hppa \
DEB_URL=http://ftp.ports.debian.org/debian-ports/ \
EXECUTABLE=./hppa-linux-user/qemu-hppa V=1 \
DEB_KEYRING=${HOME}/.gnupg/pubring.kbx
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200722062902.24509-12-alex.bennee@linaro.org>
---
tests/docker/dockerfiles/debian-bootstrap.pre | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/docker/dockerfiles/debian-bootstrap.pre
b/tests/docker/dockerfiles/debian-bootstrap.pre
index c164778c302..35c85f7db8a 100755
--- a/tests/docker/dockerfiles/debian-bootstrap.pre
+++ b/tests/docker/dockerfiles/debian-bootstrap.pre
@@ -79,6 +79,13 @@ else
fi
fi
+#
+# Add optional args
+#
+if [ -n "${DEB_KEYRING}" ]; then
+ DEBOOTSTRAP="${DEBOOTSTRAP} --keyring=${DEB_KEYRING}"
+fi
+
#
# Finally check to see if any qemu's are installed
#
--
2.20.1
- Re: [PATCH v3 06/16] accel/tcg: better handle memory constrained systems, (continued)
- [PATCH v3 05/16] util/oslib-win32: add qemu_get_host_physmem implementation, Alex Bennée, 2020/07/24
- [PATCH v3 08/16] linux-user: don't use MAP_FIXED in pgd_find_hole_fallback, Alex Bennée, 2020/07/24
- [PATCH v3 10/16] tests/docker: fix binfmt_misc image building, Alex Bennée, 2020/07/24
- [PATCH v3 07/16] target/i386: floatx80: avoid compound literals in static initializers, Alex Bennée, 2020/07/24
- [PATCH v3 12/16] linux-user: fix clock_nanosleep(), Alex Bennée, 2020/07/24
- [PATCH v3 16/16] tests/vm: add shutdown timeout in basevm.py, Alex Bennée, 2020/07/24
- [PATCH v3 11/16] tests/docker: add support for DEB_KEYRING,
Alex Bennée <=
- [PATCH v3 14/16] python/qemu: Cleanup changes to ConsoleSocket, Alex Bennée, 2020/07/24
- [PATCH v3 09/16] tests/docker: fix update command due to python3 str/bytes distinction, Alex Bennée, 2020/07/24
- [PATCH v3 13/16] linux-user, ppc: fix clock_nanosleep() for linux-user-ppc, Alex Bennée, 2020/07/24
- [PATCH v3 15/16] python/qemu: Change ConsoleSocket to optionally drain socket., Alex Bennée, 2020/07/24