Quellcode durchsuchen

Merge "Adds support for GPG keyring"

tags/2.30.0
Zuul Gerrit Code Review vor 4 Monaten
Ursprung
Commit
f268c72ed9
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

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


Laden…
Abbrechen
Speichern