]> git.ozlabs.org Git - petitboot/commit
discover: Add 'plugin' user-event
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 25 Jul 2017 05:55:19 +0000 (15:55 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 15 Aug 2017 03:03:28 +0000 (13:03 +1000)
commit8b46ab92aeff52b7354bf4f250835f75b4bd824c
treec1ac2e919bcad45d5ad26c7fbd6ea57fc80c0fc6
parentff7293bba1fd4cdf54bb90bd1b7a38dd393fee69
discover: Add 'plugin' user-event

Add a new user event to advertise pb-plugins and add them to the
device_handler. Plugins described by this event can either be
uninstalled pb-plugin files or successfully installed pb-plugins
depending on the associated parameters.
The is primarily intended for use by the pb-plugin utility itself to
notify Petitboot as it operates on pb-plugin files.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/event.c
discover/event.h
discover/user-event.c