Missing uboot env variables "snap_kernel" & "snap_core" for building an armhf image

Woodrow Shen woodrow.shen at canonical.com
Thu Nov 3 15:01:26 UTC 2016


Hi Steve & Ogra,

Thanks your explanation, I think the thing of snapd-special files is
probably not clear for developers, and maybe we can update the porting
guide (https://developer.ubuntu.com/en/snappy/guides/porting/) for the
brand new uc16 on it. After all, it's the old-fashioned and can not be
useful for uc16. Finally, the roseapple-pi board works on uc16, bravo !!
Thank you,

Rejoice,
Woodrow

On Thu, Nov 3, 2016 at 6:41 PM, Oliver Grawert <ogra at ubuntu.com> wrote:

> Am Donnerstag, den 03.11.2016, 15:40 +0800 schrieb Woodrow Shen:
> > Hi,
> >
> > I'm working on port of roseapple-pi (https://github.com/xapp-le/Snapp
> > yUbuntuCore), and after building an image via ubuntu-image, the new
> > uboot.env modified by snapd can't find the snap related
> > variables "snap_kernel" & "snap_core". I check the image's content
> > and then confirm the kernel snap files are included under
> > /var/lib/snapd/ (writable) and system-boot file system. Right now I
> > don't have any idea about this, anyone can give me a clue ? Thanks.
> >
>
> you are missing a link called "uboot.conf" in that dir:
> https://github.com/xapp-le/SnappyUbuntuCore/tree/master/builder/gadget
>
> it needs to point to the binary uboot.env file
> (make sure uboot.env exists in your gadget before building and run:
> ln -s uboot.conf uboot.env
> in that dir before snapping up your gadget)
>
> ciao
>         oli
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
Woodrow Shen
Software Engineer, Canonical ltd.
UES | CE | PC & Core, Taipei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161103/f3fa6e20/attachment.html>


More information about the Snapcraft mailing list