Re: Building snap from binaries

2016-12-23 Thread l-snapcraft

Hi Luther,

yes it is possible to build snaps from binaries. If the binaries don't
include dependencies you probably want to include some dependencies via
stage-packages. So if you use  snapcraft to build your snap instead of
manually crafting a squashfs then take a look at the dump plugin:

http://snapcraft.io/docs/reference/plugins/dump

With it you can easily organise your files within the snap.

Am 23.12.2016 um 16:32 schrieb Luther Goh Lu Feng:
> If I am building a snap, and for some reason, I wish to not snap it
from source, but from a compiled binary, is it allowed? Thanks.
>
>
> -- Luther
>

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Building snap from binaries

2016-12-23 Thread Seth Arnold
On Fri, Dec 23, 2016 at 03:32:19PM +, Luther Goh Lu Feng wrote:
> If I am building a snap, and for some reason, I wish to not snap it from
> source, but from a compiled binary, is it allowed? Thanks.

Luther, it is allowed; snaps are just squashfs filesystems with some
metadata in expected filenames. I've been unable to keep track of a spec
for it, sorry, but if you snap up a simple tool and inspect the resulting
squashfs image you'll probably learn all you need to know faster than I
could find a reference. :)

Thanks


signature.asc
Description: PGP signature
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Building snap from binaries

2016-12-23 Thread Luther Goh Lu Feng
If I am building a snap, and for some reason, I wish to not snap it from 
source, but from a compiled binary, is it allowed? Thanks.


-- Luther

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft