Fwd: Member not found
Gábor Paller
gaborpaller at gmail.com
Fri Oct 30 15:35:36 UTC 2015
OK, one naive question more.
At the bottom of this page:
https://developer.ubuntu.com/en/snappy/guides/package-metadata/
there is the line:
"See lp:~snappy-dev/snappy-hub/snappy-examples for up-to-date examples."
What is lp:~?
Regards,
Gabor
On Fri, Oct 30, 2015 at 2:17 PM, Jamie Strandboge <jamie at canonical.com>
wrote:
> On 10/30/2015 03:13 AM, Gábor Paller wrote:
> > "Let us know how it goes updating your snap."
> >
> > Let me grab this opportunity to talk about my AppArmor file that breaks
> the
> > install. :-)
> >
> > The whole purpose of that exercise is to access the /dev/ttyO1 device
> that I use
> > to talk to my GSM machinery. So if there's an easy way to provide
> access, I
> > happily drop that AppArmor file. :-)
> >
>
> On a 15.04 system, use:
> $ sudo snappy hw-assign cameraagent.sideload /dev/ttyO1
>
> > Meanwhile, it looks like this:
> > {
> > "template": "default",
> > "policy_vendor": "ubuntu-snappy",
> > "policy_version": 1.3,
> > "policy_groups": [
> > "networking"
> > ],
> > "read_path": [
> > "/dev/ttyO1"
> > ],
> > "write_path": [
> > "/dev/ttyO1"
> > ]
> > }
> >
> > Referenced like this from package.yaml:
> >
> > binaries:
> > - name: bin/cameraagent.sh
> > security-policy:
> > apparmor: meta/cameraagent.apparmor
> >
>
> This is an old yaml format and the policy vendor and version you are using
> indicate this is from tools from before the 15.04 release (and there was a
> lot
> of snappy activity prior to release).
>
> In the future, you can use the review tools to catch these issues
> (assuming they
> are up to date. These are the same tools that the store will use). Eg:
> $ click-review /path/to/you/snap
>
>
> --
> Jamie Strandboge http://www.ubuntu.com/
>
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20151030/4aa1d287/attachment.html>
More information about the snappy-devel
mailing list