Putting git inside a snap

Sergio Schvezov sergio.schvezov at canonical.com
Wed Aug 17 02:09:13 UTC 2016



El 16/08/16 a las 20:28, Marco Ceppi escribió:
> Thanks for the hint, I've added that to my snapcraft.yaml but I'm still
> getting the same error. What's the best way to troubleshoot this, is
> there a way to 'enter' the snap environment and poke the git command?

Create a new `apps` entry like this

apps:
   sh:
       command: bash
       plugs: [same list of plugs used by what calls git]

There's a `snap shell` (or similar) command making a come back some time
and would make this more straightforward.

For what it's worth I strace and gdb like this in a `snap try` session.

-------------- 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/snapcraft/attachments/20160816/6f8291cc/attachment.sig>


More information about the Snapcraft mailing list