<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I would like to add more detail about what I tried.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">As I am trying build an image for raspberrrypi with ELBE.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">It was failed at debootstrap stage because of no gpg key available<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">for raspbian.raspberrrypi.org in the package debian-archive-keyring.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">1. Tried to add the key to local machine, it failed.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> It seems that the keyring(from package debian-archive-keyring) in initvm<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> is used for debootstrap.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2. Tried to add keyring to initvm, and it works.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> But it seems this should not be the right way to use it, right?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">3. Tried with <noauth /> instead, it failed because of the bug<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> ("uninitialized variable keyring", which is fixed by commit<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> "49eaa69fd Prevent uninitialized variable".<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">4. Tried patch the bugfix to initvm, it works, but it should not be<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> the right way to used either, right? <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">5. Tried to create the initvm with --devel with running the elbe from<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> a git clone containing the commit 49eaa69fd, but the bug is still<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> existed with elbe in initvm. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">To use the ELBE build image for raspberrrypi before next formal release,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">is there any other solution? Solutions with <noauth /> or no <noauth />
<o:p></o:p></span></p>
<p class="MsoNormal">are welcome.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thanks a lot!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Simon Han
<br>
<b>Sent:</b> Wednesday, May 5, 2021 2:01 PM<br>
<b>To:</b> elbe-users@linutronix.de<br>
<b>Subject:</b> How to add the key for debootstrap in elbe ?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I try to build a raspberrypi image on Debian 10.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">When I elbe submit with a xml which contains <primary_host>raspbian.raspberrypi.org</primary_host> under <mirror>,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I got error like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif">testing@TestEnvironment-RevPi:~$ elbe initvm submit ./armhf-raspios.xml<br>
Build started, waiting till it finishes<br>
[INFO] Build started<br>
[INFO] ELBE Report for Project armhf-raspios<br>
Report timestamp: 20210504-082442<br>
[CMD] reprepro --basedir "/var/cache/elbe/457137fc-0510-4128-a232-eb649a8ef3e0/repo" export buster<br>
[CMD] mkdir -p "/var/cache/elbe/457137fc-0510-4128-a232-eb649a8ef3e0/chroot"<br>
[INFO] Debootstrap log<br>
[CMD] dpkg --print-architecture<br>
[CMD] debootstrap --include="gnupg" --foreign --arch=armhf "buster" "/var/cache/elbe/457137fc-0510-4128-a232-eb649a8ef3e0/chroot" "</span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><a href="http://raspbian.raspberrypi.org/raspbian%22" target="_blank" title="http://raspbian.raspberrypi.org/raspbian%22"><span lang="EN-US">http://raspbian.raspberrypi.org/raspbian"</span></a></span><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI",sans-serif"><br>
I: Retrieving InRelease<br>
I: Checking Release signature<br>
E: Release signed by unknown key (key id 9165938D90FDDD2E)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">With command gpg –no-default-keyring –keyring <gpg file> --import <key file>:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I added the key to initvm/.elbe-in/*.gpg, I got the same result, it works not.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Can anybody give some hints about how to get it work ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Should I do something to the vm machine? And how ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Simon<o:p></o:p></span></p>
</div>
</div>
</body>
</html>