Do we have access to OS SNAP Source Code . Is It open source

Hi,

I am newbie trying to compile the Ubuntu core for Raspberry Pi 3. I find the os.snap is used in building image.
I don’t find the corresponding source code. Is the OS SNAP open source ?

Thanks
Mari

1 Like

Yes, the Ubuntu core snap is built with deb packages from the Ubuntu package archives.
You can download the source code by running the script.

2 Likes

Thanks. Is it working. I am getting below error
File “download.py”, line 56, in
downloadManifest(filename)
File “download.py”, line 45, in downloadManifest
manifest = yaml.load(open(filename, ‘r’))
IOError: [Errno 2] No such file or directory: ‘/snap/core/current/snap/manifest.yaml’

You will need to pass manifest.yaml from the core snap to the script or run the script on a machine with core snap installed.