node-snapper ... some helper I have been working on the recent days
Martin Pitt
martin.pitt at ubuntu.com
Mon Feb 23 11:13:07 UTC 2015
Hey Olli,
Oliver Grawert [2015-02-22 10:47 +0100]:
> I know about pittis work indeed, but it hasn't struck me to offer it to
> him for inclusion yet, we'll talk on monday ;)
Heh, for the record I am not working on this :-)
The spec [1] describes how inclusion of Ubuntu packages is supposed to
work. Roughly:
- snaps can declare in the yaml which debs they need at runtime
(include-debs:).
- building the snap will fetch those (and their transitive
dependencies), and put them into a debs/ dir. The yaml then
declares "overlay: debs/"
- our launcher will support a per-snap overlayfs on top of /, and
mount debs/ (i. e. the overlay: value) on top of /
With that we don't need all the LD_LIBRARY_PATH stuff, and a lot more
debs will just work because they appear to be in the path they are
designed to work in.
Martin
[1] https://docs.google.com/a/canonical.com/document/d/1oNYSBInP9CW1tJNnixiddPnPEah0_XMOTPaaLzltoVc
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the snappy-devel
mailing list