mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-30 18:35:59 +08:00
COIN: Fix Debian bookworm pgp key in Ubuntu 22.04 for debootstrap
Pick-to: dev 6.9 6.8 Change-Id: Ie06c37987cf21ee0f8f60528af5d70cbf8b5490d Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
This commit is contained in:
@@ -39,8 +39,13 @@ EOF
|
||||
sudo sbuild-adduser "$LOGNAME"
|
||||
newgrp sbuild
|
||||
|
||||
# For debian repo we need to update the bookworm release pgp key
|
||||
mkdir -p /home/qt/.debian_key_ring
|
||||
wget https://ftp-master.debian.org/keys/archive-key-12.asc -O /home/qt/.debian_key_ring/archive-key-12.asc
|
||||
gpg --no-default-keyring --keyring=/home/qt/.debian_key_ring/debian_chroot.gpg --import /home/qt/.debian_key_ring/archive-key-12.asc
|
||||
|
||||
# Create chroot
|
||||
sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates bookworm /srv/chroot/stable-amd64 http://deb.debian.org/debian
|
||||
sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates bookworm /srv/chroot/stable-amd64 http://deb.debian.org/debian --keyring=/home/qt/.debian_key_ring/debian_chroot.gpg
|
||||
|
||||
# For ubuntu 22.04
|
||||
echo "Create chroot for Ubuntu Jammy"
|
||||
|
||||
Reference in New Issue
Block a user