need help with freedomotic snappy app

Steve Langasek steve.langasek at canonical.com
Tue Apr 28 07:56:31 UTC 2015


On Mon, Apr 27, 2015 at 04:52:01PM -0700, Seth Arnold wrote:
> On Mon, Apr 27, 2015 at 09:01:29AM +0200, Steve Langasek wrote:
> > The snappy approach to this problem is to bundle openjdk in your snap
> > package.  At that point there would be no permissions problems since your
> > app would be allowed to execute the binaries that are shipped as part of the
> > snap package itself.

> Is it at all feasible for a "standard" snap author to package openjdk as a
> framework that they can rely upon for all their packages?

Frameworks are centrally managed in the store, and gardened by Canonical.
They are primarily intended for mediation of resources - not as a means of
declaring dependencies on a language runtime.  The recommended solution to
this problem under Snappy is for the app developer to bundle the language
runtime (here, the JRE) in their snap package.  There are tools that can
facilitate creating such a snap, such as Mike Terry's deb2snap.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150428/61687524/attachment-0001.pgp>


More information about the snappy-devel mailing list