Fwd: Re: Fwd: Member not found

Jamie Strandboge jamie at canonical.com
Fri Oct 30 15:44:22 UTC 2015


Whoops, forgot to CC this list.

-------- Forwarded Message --------
Subject: Re: Fwd: Member not found
Date: Fri, 30 Oct 2015 10:43:04 -0500
From: Jamie Strandboge <jamie at canonical.com>
To: Gábor Paller <gaborpaller at gmail.com>

On 10/30/2015 10:35 AM, Gábor Paller wrote:
> 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:~?
> 

Launchpad. If you are using the bzr revision control system, you can do:
$ bzr branch lp:~snappy-dev/snappy-hub/snappy-examples

Or you can got straight to the web interface:
https://code.launchpad.net/~snappy-dev/snappy-hub/snappy-examples

> Regards,
> Gabor
> 
> On Fri, Oct 30, 2015 at 2:17 PM, Jamie Strandboge <jamie at canonical.com
> <mailto: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 <mailto:snappy-devel at lists.ubuntu.com>
>     Modify settings or unsubscribe at:
>     https://lists.ubuntu.com/mailman/listinfo/snappy-devel
> 
> 
> 
> 


-- 
Jamie Strandboge                 http://www.ubuntu.com/





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20151030/e2a359eb/attachment.pgp>


More information about the snappy-devel mailing list