Hi all I created the snap with embedded Oracle jre but it doesn't start with the following error (RaspberryPi2)ubuntu@localhost:~$ start.sh.freedomotic aa-exec: ERROR: profile 'freedomotic_start.sh_5.6.0' does not exist
I think it's related to AppArmor but I didn't find any doc example about this. Can you help me? How to add this file and modify the package.yaml? The snap is structure is online on https://github.com/mcicolella/freedomotic-snappy Thanks Mauro PD: this info should be added on the website devel documentation On Sat, May 2, 2015 7:37 am, Steve Langasek wrote: > Hi Mauro, > > > On Tue, Apr 28, 2015 at 03:58:27AM -0500, [email protected] wrote: > > >> thanks for your reply. Is it possible to bundle Oracle JRE in our snap >> and distribute it or are there Licence issues? > > I can't advise you on the license terms for Oracle JRE, you would need to > look at this yourself to determine if the license is compatible with > your use. I can say that openjdk's license is compatible with this use, > and is worth a look if Oracle JRE doesn't work out since the performance > should be comparable for many uses. > > > On Mon, Apr 27, 2015 at 03:13:11AM -0500, [email protected] wrote: > >> Hi Steve >> thanks for your reply. 1. I installed oracle java (not openjdk for better >> performance) manually downloading the package from the official site >> because there isn't any java app in the store). How should I bundle java >> in my package? > > Mike Terry's deb2snap script may be helpful to you here: > > > https://github.com/mikix/deb2snap > > > Integrating this into the standard snappy developer experience is a work > in progress, but in the meantime this is a step in the right direction. > >> It should be better to have a java snap to install and use when needed. >> What do you think? >> > > By design, snap packages have no dependencies, except on frameworks which > are used to mediate shared resources on the system. By bundling your > language runtime instead of depending on another package to provide it, > you're assured that your snap will behave consistently on all systems, > and that there's no risk of it suddenly breaking on a Snappy Ubuntu system > as a result of a new version of that dependency. > > Cheers, > -- > 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/ > [email protected] [email protected] > > -- snappy-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snappy-devel
