This is just a headsup …
I was working on a nanopi-air Ubuntu Core image on the weekend and for looking up some working setup i test-wise installed the Ubuntu Server build of armbian on the board …
While the kernel is not actually capable to support full confinement I pleasantly noticed that snaps work fine anyway … even classic ones:
_ _ ____ _ _ _
| \ | | __ _ _ __ ___ | _ \(_) / \ (_)_ __
| \| |/ _` | '_ \ / _ \| |_) | | / _ \ | | '__|
| |\ | (_| | | | | (_) | __/| | / ___ \| | |
|_| \_|\__,_|_| |_|\___/|_| |_| /_/ \_\_|_|
Welcome to ARMBIAN 5.32.170629 nightly Ubuntu 16.04.2 LTS 4.11.7-sun8i
System load: 0.33 1.96 1.97 Up time: 33 min
Memory usage: 10 % of 496MB IP: 192.168.2.70,10.227.210.1
CPU temp: 32°C
Usage of /: 40% of 3.5G
[ 0 security updates available, 24 updates total: apt upgrade ]
Last check: 2017-06-28 13:17
[ General system configuration: armbian-config ]
Last login: Mon Aug 21 13:56:53 2017 from 192.168.2.74
ogra@nanopiair:~$
ogra@nanopiair:~$ sudo apt install snapd
...
ogra@nanopiair:~$ snap version
snap 2.26.10
snapd 2.26.10
series 16
ubuntu 16.04
kernel 4.11.7-sun8i
ogra@nanopiair:~$ sudo snap install core
...
ogra@nanopiair:~$ sudo snap install snapcraft --edge --classic
...
ogra@nanopiair:~$ sudo apt install git
...
ogra@nanopiair:~$ git clone https://github.com/ogra1/beaglebone-gadget.git
...
ogra@nanopiair:~$ cd beaglebone-gadget
ogra@nanopiair:~/beaglebone-gadget$ snapcraft
Installing build dependencies: libexpat1 libexpat1-dev libpython2.7 libpython2.7-dev
Reading package lists... Done
Building dependency tree
...
Priming uboot
Snapping 'bbb' -
Snapped bbb_16-0.1_armhf.snap
ogra@nanopiair:~/beaglebone-gadget$ ls *.snap
bbb_16-0.1_armhf.snap
ogra@nanopiair:~/beaglebone-gadget$