Snap portability between different boards?

Leo Arias leo.arias at canonical.com
Fri Jan 6 05:35:47 UTC 2017


This is interesting. I would like to write some snaps using gobot that
work on raspberry pi and beaglebone black.

The only difference should be the line where the adaptor is defined:
https://github.com/hybridgroup/gobot/blob/master/examples/beaglebone_blink.go#L12

Can I query the snappy system to see which is the current gadget? That
would let me define the adaptor in a conditional, and use a single
codebase for both boards.




More information about the Snapcraft mailing list