Skip to content

add ubuntu-keyring sources needed when rebuilding rootfs#1564

Open
meeg wants to merge 2 commits into
Xilinx:masterfrom
openquantumhardware:dockerfile
Open

add ubuntu-keyring sources needed when rebuilding rootfs#1564
meeg wants to merge 2 commits into
Xilinx:masterfrom
openquantumhardware:dockerfile

Conversation

@meeg

@meeg meeg commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

When building a ZCU208 image with REBUILD_PYNQ_ROOTFS=1, multistrap was giving me the same error (E: Can't find a source to download version '2021.03.26' of 'ubuntu-keyring:amd64') reported by https://discuss.pynq.io/t/pynq-image-v3-1-for-pynq-z1-build-fails-during-rootfs-multistrap-ubuntu-keyring-error/8691.

It looks like this error is related to secure apt (https://manpages.ubuntu.com/manpages/jammy/man1/multistrap.1.html#secure-apt) and the fix is to either use --no-auth or add the APT repository with the ubuntu-keyring sources before running multistrap. Here I tweak the Dockerfile and create_rootfs.sh to do the latter.

I'm also moving the tzdata configuration into its own command, for ease of understanding - this isn't strictly necessary, it's just something that confused me during debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant