mirror of https://github.com/armbian/build.git
lib / distro-specific.sh: add --batch and --yes switches to gpg call
suggestion from coderabbit and indeed it sounds like a good, robust idea
This commit is contained in:
parent
9fe445b44d
commit
9144aaf91b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue