Skip to content

Commit

Permalink
scripts: release key check does not work for bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
hexdump0815 committed Aug 14, 2022
1 parent c10954f commit 514f091
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/create-fs-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down

0 comments on commit 514f091

Please # to comment.