Preload scripts

Alexander Sack asac at canonical.com
Wed Mar 25 11:02:02 UTC 2015


On Tue, Mar 24, 2015 at 7:44 PM, Michael Terry
<michael.terry at canonical.com> wrote:
> 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?)

This sounds pretty amazing. Wanted to try it out, but wonder if
following all the steps in README.md really the easiest way to get the
bits built?

 - Alexander

>
> -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
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>



More information about the snappy-devel mailing list