Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add snapcraft.yaml so you can `snapcraft build` #800
Conversation
|
It's also possible to have travis build these and upload to the "edge" channel, as in: https://github.com/evandandrea/cassandra-snap/blob/master/.travis.yml |
sev-
merged commit fe256bb
into
scummvm:master
Aug 13, 2016
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
|
It would be cool if you add the description to our Wiki. Also if you have time for building these for the releases, and probably help with the packaging subsystem, which describes the game and has several output interfaces, including the snapcraft format, that would be awesome. |
|
Can we move this to a subdirectory? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
spads-spads commentedAug 2, 2016
Now that #795 is merged, enabling snaps, we can merge the snapcraft.yaml.
This file is essentially the "Makefile" for the
snapcraftbinary, which will build a squashfs that can be mounted and run in a heavily AppArmor-constrained process space.Right now this snapcraft.yaml allows access to the user's home directory through the
homeplug on line 15, but in future it would be possible to bundle games into their own snaps along with specific revisions of scummvm, and those could operate entirely without filesystem access outside the snap jail. This can work no matter the base OS, as the environment overlays atop a ~60MBubuntu-coreimage.I've demonstrated this work in person to fuzzie, and have built 1.9.0git snaps using
snapcraft cleanbuildwhich even does the build step in an lxd of theubuntu-coreenvironment.I'm not sure how best to document this build information, so any guidance there would be welcomed.