Ver código fonte

Merge "Adds support for GPG keyring"

tags/2.30.0
Zuul Gerrit Code Review 3 meses atrás
pai
commit
f268c72ed9
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      diskimage_builder/elements/dpkg/pre-install.d/02-add-apt-keys

+ 1
- 1
diskimage_builder/elements/dpkg/pre-install.d/02-add-apt-keys Ver arquivo

@@ -26,7 +26,7 @@ if [ ! -d "${KEY_DIRECTORY}" ]; then
fi

for KEY in ${KEY_DIRECTORY}/*; do
if ! file -b "${KEY}" | grep -q 'PGP public key block'; then
if ! file -b "${KEY}" | grep -qE '(PGP public key block|GPG key public ring)'; then
echo "Skipping ${KEY}, not a valid GPG public key"
continue
fi


Carregando…
Cancelar
Salvar