<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thanks! That was the problem. I wasn't really thinking along those lines because all teh other pulls I've been doing were working.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I'll report the bug.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Regards, Mike</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 12, 2016 at 10:17 AM, Sergio Schvezov <span dir="ltr"><<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
El 12/09/16 a las 11:10, MikeB escribió:<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">This was
buried in another thread, but I wanted to give it its own
thread since this has me blocked.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">As of
late last week, I've been unable to build a kernel snap.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I'm
using the latest snapcraft and snapd (2.16 and 2.14.2~16.04
respectively).</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I do
define an x-kernel plugin which derives from he kernel
plugin. My x-kernel applies patches after the super().pull()
and pauses the process after the super().build() so that I can
inject some custom drivers into /lib/modules/... so I don't
suspect my x-kernel is the culprit.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">When
snapcraft tries tries to download ubuntu-core, I get the
following failure.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Any
thoughts on how to get around this failure?</div>
</div>
</blockquote>
<br></span>
First an explanation, we ship a generic initrd in the core snap
which has all the business logic; snapcraft downloads this add adds
all the kernel related stuff. In order to download this core snap we
need to be logged into the store.<br>
<br>
So the solution is to `snapcraft login`. We don't have refrshing of
tokens yet and even so wouldn't be as effective as the one
implemented in snapd as it might be months before you use snapcraft
to talk to the store again.<br>
<br>
As a side note, the download of the core snap to get a generic
initrd is a temporary solution until the bootloader logic in snapd
learns how to append/concat initrd's for the business logic and the
kernel enablement bits to evolve independently.<br>
<br>
That said, the cryptic 401 error message is a capital letters BUG! I
would appreciate if you could log one.<br>
<br>
Cheers<span class="HOEnZb"><font color="#888888"><br>
Sergio<br>
<br>
</font></span></div>
<br>--<br>
Devices mailing list<br>
<a href="mailto:Devices@lists.snapcraft.io">Devices@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.snapcraft.io/mailman/listinfo/devices" rel="noreferrer" target="_blank">https://lists.snapcraft.io/<wbr>mailman/listinfo/devices</a><br>
<br></blockquote></div><br></div>