]> git.ozlabs.org Git - petitboot/commitdiff
pb-plugin: Update to chroot-style plugins
authorJeremy Kerr <jk@ozlabs.org>
Fri, 7 Aug 2015 04:14:42 +0000 (12:14 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 7 Aug 2015 04:17:31 +0000 (12:17 +0800)
This change uses a chroot for all plugins, so that plugins have complete
flexibility with their libraries, dependencies and configuration.

We remove the 'install' action, as we simply run the plugin once.
Running involves extracting the archive, setting up a root filesystem,
and running a chroot.

To simplify plugin discovery behaviour, we standardise the plugin file
to be at pb-plugin.conf of attached devices, and read the metadatafile
straight out of the archive.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found