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

Oliver Grawert ogra at ubuntu.com
Thu Nov 3 10:41:54 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161103/8cd236e1/attachment.sig>


More information about the Snapcraft mailing list