mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
COIN: Fix Debian bookworm pgp key in Ubuntu 22.04 for debootstrap
Change-Id: Ie06c37987cf21ee0f8f60528af5d70cbf8b5490d
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit e6eaa4f3ef)
Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
committed by
Jani Heikkinen
parent
e19a6280e8
commit
dc3b464f0d
@@ -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