瀏覽代碼

Merge "Adds support for GPG keyring"

tags/2.30.0
Zuul 3 月之前
父節點
當前提交
f268c72ed9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 查看文件

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

Loading…
取消
儲存