From f00cd197b4a9873f36093d4f4748b733642059a7 Mon Sep 17 00:00:00 2001 From: orangepi-xunlong <258384131@qq.com> Date: Mon, 27 Jun 2022 13:41:39 +0800 Subject: [PATCH] buster: fix debian-archive-keyring.gpg --- scripts/debootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/debootstrap.sh b/scripts/debootstrap.sh index 241de4e..87d8131 100755 --- a/scripts/debootstrap.sh +++ b/scripts/debootstrap.sh @@ -128,6 +128,9 @@ create_rootfs_cache() # fancy progress bars [[ -z $OUTPUT_DIALOG ]] && local apt_extra_progress="--show-progress -o DPKG::Progress-Fancy=1" + if [[ $RELEASE == buster ]]; then + wget https://ftp-master.debian.org/keys/release-10.asc -qO- | gpg --import --no-default-keyring --keyring /usr/share/keyrings/debian-archive-keyring.gpg >/dev/null 2>/dev/null + fi display_alert "Installing base system" "Stage 1/2" "info" eval 'debootstrap --variant=minbase --include=${DEBOOTSTRAP_LIST// /,} ${PACKAGE_LIST_EXCLUDE:+ --exclude=${PACKAGE_LIST_EXCLUDE// /,}} \