From 514f0917e1a61cdf9a2626e4b47c5f36df70c11d Mon Sep 17 00:00:00 2001 From: hexdump Date: Sun, 14 Aug 2022 13:42:05 +0200 Subject: [PATCH] scripts: release key check does not work for bookworm --- scripts/create-fs-cache.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/create-fs-cache.sh b/scripts/create-fs-cache.sh index 497936ec..fd4f1f40 100755 --- a/scripts/create-fs-cache.sh +++ b/scripts/create-fs-cache.sh @@ -124,7 +124,8 @@ if [ ! -d ${BUILD_ROOT_CACHE} ]; then sed -i "s,DEBIANVERSION,bullseye,g" ${BUILD_ROOT_CACHE}/etc/apt/sources.list elif [ "${2}" = "bookworm" ]; then wget https://ftp-master.debian.org/keys/release-11.asc -qO- | gpg --import --no-default-keyring --keyring ${DOWNLOAD_DIR}/debian-release-11.gpg - LANG=C debootstrap --keyring=${DOWNLOAD_DIR}/debian-release-11.gpg --variant=minbase --arch=${BOOTSTRAP_ARCH} ${2} ${BUILD_ROOT_CACHE} http://deb.debian.org/debian/ + LANG=C debootstrap --keyring=${DOWNLOAD_DIR}/debian-release-11.gpg --no-check-certificate --variant=minbase --arch=${BOOTSTRAP_ARCH} ${2} ${BUILD_ROOT_CACHE} http://deb.debian.org/debian/ + LANG=C debootstrap --variant=minbase --arch=${BOOTSTRAP_ARCH} ${2} ${BUILD_ROOT_CACHE} http://deb.debian.org/debian/ # exit if debootstrap failed for some reason if [ "$?" != "0" ]; then echo ""