From 9144aaf91b49fab39cc989868bb3d43f5a9a44aa Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Thu, 10 Jul 2025 07:37:25 +0800 Subject: [PATCH] lib / distro-specific.sh: add --batch and --yes switches to gpg call suggestion from coderabbit and indeed it sounds like a good, robust idea --- lib/functions/rootfs/distro-specific.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/rootfs/distro-specific.sh b/lib/functions/rootfs/distro-specific.sh index 8bd5372194..e03119b8f6 100644 --- a/lib/functions/rootfs/distro-specific.sh +++ b/lib/functions/rootfs/distro-specific.sh @@ -162,7 +162,7 @@ function create_sources_list_and_deploy_repo_key() { mkdir -p "${basedir}"/usr/share/keyrings # change to binary form APT_SIGNING_KEY_FILE="/usr/share/keyrings/armbian-archive-keyring.gpg" - gpg --dearmor < "${SRC}"/config/armbian.key > "${basedir}${APT_SIGNING_KEY_FILE}" + gpg --batch --yes --dearmor < "${SRC}"/config/armbian.key > "${basedir}${APT_SIGNING_KEY_FILE}" # lets link to the old file as armbian-config uses it and we can't set there to new file # we user force linking as some old caches still exists