Preload scripts
Michael Terry
michael.terry at canonical.com
Tue Mar 24 18:44:07 UTC 2015
This now works well enough that you can do the following:
./make-snap -d 14.10 -p mir-graphics-drivers-desktop -n renderdemo -v 0
--aa-profile
/usr/share/apparmor/easyprof/templates/ubuntu-snappy/1.3/unconfined
mir_demo_standalone_render_surfaces
And get a snap that runs a mir demo for you (most of the time -- sometimes
it crashes?)
-mt
On Thu, Mar 12, 2015 at 12:37 PM, Michael Terry <michael.terry at canonical.com
> wrote:
> Hello! I wanted to update y'all on my progress in bundling deb packages
> into snaps.
>
> I've got a few new rough-and-ready scripts in the tools folder of
> lp:~mterry/+junk/snappy-preload that may be of interest to others:
>
> *dep-tree*: prints the full Depends and Recommends tree of a given
> package, optionally excluding anything in a provided manifest
>
> *copy-deb*: copies all files from an installed deb into a separate file
> tree (this is very naive, and will miss things like compiled schemas)
>
> *make-snap*: you can provide this with an executable from a package on
> your system, it will bundle up all the files needed to run it, add the
> libsnappypreload.so library, plus a wrapper to set the preload bits up, and
> puts it all in a snap. This is also very rough and needs to be run from
> the tools/ directory. It also does not yet allow for any setup your
> executable might need, like running X first.
>
> With all those provisos, it still can be useful for simple programs. I'm
> working on building it out.
>
> --
> -mt
>
--
-mt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150324/9b333030/attachment.html>
More information about the snappy-devel
mailing list