Skip to content

Commit 0146c9d

Browse files
authored
replace deprecated apt-key (#764)
1 parent 229c736 commit 0146c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ apt-get install -y live-build patch gnupg2 binutils zstd
3030
# anymore, so we add the archive keys manually. This may need to be updated if Ubuntu changes their signing keys
3131
# To get the current key ID, find `ubuntu-keyring-xxxx-archive.gpg` in /etc/apt/trusted.gpg.d on a running
3232
# system and run `gpg --keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-xxxx-archive.gpg --list-public-keys `
33-
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com F6ECB3762474EDA9D21B7022871920D1991BC93C
33+
gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com F6ECB3762474EDA9D21B7022871920D1991BC93C
3434

3535
# TODO: This patch was submitted upstream at:
3636
# https://salsa.debian.org/live-team/live-build/-/merge_requests/314

0 commit comments

Comments
 (0)