Explorar el Código

Merge "Adds support for GPG keyring"

tags/2.30.0
Zuul Gerrit Code Review hace 4 meses
padre
commit
f268c72ed9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 fichero

@@ -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


Cargando…
Cancelar
Guardar