Skip to content

Instantly share code, notes, and snippets.

@rgov
Created March 2, 2021 17:30
Show Gist options
  • Save rgov/92a7a0cb8ec6052f6e9968e755e88aad to your computer and use it in GitHub Desktop.
Save rgov/92a7a0cb8ec6052f6e9968e755e88aad to your computer and use it in GitHub Desktop.
Use a custom keyring with live-build
apt install dirmngr

In auto/config:

# Create a keyring that contains the keys we need for debootstrap
# See https://github.com/ValveSoftware/steam-runtime/issues/81
gpg "--keyring=$(pwd)/config/keyring.gpg" --no-default-keyring --keyserver keyserver.ubuntu.com --receive-keys 0x40976EAF437D05B5

In auto/build, before the build starts:

export DEBOOTSTRAP_OPTIONS="--keyring=$(pwd)/config/keyring.gpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment