WIP snap for 0ad

Olivier Tilloy olivier.tilloy at canonical.com
Fri Dec 16 19:04:02 UTC 2016


On Fri, Nov 18, 2016 at 7:03 PM, Olivier Tilloy
<olivier.tilloy at canonical.com> wrote:
> On Fri, Nov 18, 2016 at 6:05 PM, Leo Arias <leo.arias at canonical.com> wrote:
>> The alpha?
>> I want to play!
>
> Here you go: http://people.canonical.com/~osomon/play0ad_0.0.21-alpha_amd64.snap.
> This is a 891MB file, sha1sum: 7a3a7af8d6295703fc89a795f8569fd5b9584f29
>
> Once installed (with --dangerous), you will need to:
>
>  - connect the process-control plug:
>
>     sudo snap connect play0ad:process-control ubuntu-core:process-control
>
>  - edit /var/lib/snapd/seccomp/profiles/snap.play0ad.0ad to add
> "sched_setaffinity" at the end of the file
>
> Once https://github.com/snapcore/snapd/pull/2301 is merged and
> released, that last requirement will go away.
>
> Run the game with: play0ad.0ad
>
> Enjoy, and feedback welcome!

There are now snaps for i386 and amd64 built on launchpad at
https://code.launchpad.net/~osomon/+snap/0ad.

Note that the manual step to add "sched_setaffinity" to the seccomp
profile after installation is still needed if you’re using snapd <
2.18. Once 2.20 is widely available on all supported ubuntu releases,
I will consider publishing to the store, and handing over ownership to
upstream.

For those interested, the packaging magic is at
https://code.launchpad.net/~osomon/+junk/0ad-snap.

Feedback welcome!

 Olivier




More information about the Snapcraft mailing list