[elbe-users] How to add the key for debootstrap in elbe ?

Simon Han z.han at kunbus.com
Wed May 5 14:01:02 CEST 2021


Hello everyone,

I try to build a raspberrypi image on Debian 10.
When I elbe submit with a xml which contains  <primary_host>raspbian.raspberrypi.org</primary_host> under <mirror>,
I got error like this:
testing at TestEnvironment-RevPi:~$ elbe initvm submit ./armhf-raspios.xml
Build started, waiting till it finishes
[INFO] Build started
[INFO] ELBE Report for Project armhf-raspios
Report timestamp: 20210504-082442
[CMD] reprepro --basedir "/var/cache/elbe/457137fc-0510-4128-a232-eb649a8ef3e0/repo" export buster
[CMD] mkdir -p "/var/cache/elbe/457137fc-0510-4128-a232-eb649a8ef3e0/chroot"
[INFO] Debootstrap log
[CMD] dpkg --print-architecture
[CMD] debootstrap --include="gnupg" --foreign --arch=armhf "buster" "/var/cache/elbe/457137fc-0510-4128-a232-eb649a8ef3e0/chroot" "http://raspbian.raspberrypi.org/raspbian"<http://raspbian.raspberrypi.org/raspbian%22>
I: Retrieving InRelease
I: Checking Release signature
E: Release signed by unknown key (key id 9165938D90FDDD2E)

With command gpg -no-default-keyring -keyring <gpg file> --import <key file>:
I added the key for Raspbian.raspberrypi.org to /usr/share/keyring/Debian-archive-keyring.gpg on the local machine,  I got the same result, it works not.
I added the key to initvm/.elbe-in/*.gpg,  I got the same result, it works not.

Can anybody give some hints about how to get it work ?
Should I do something to the vm machine? And how ?

BR
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linutronix.de/pipermail/elbe-users/attachments/20210505/e139a394/attachment.htm>


More information about the elbe-users mailing list