summaryrefslogtreecommitdiffstats
path: root/discover/event.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-07-25 15:55:19 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-08-15 13:03:28 +1000
commit8b46ab92aeff52b7354bf4f250835f75b4bd824c (patch)
treec1ac2e919bcad45d5ad26c7fbd6ea57fc80c0fc6 /discover/event.h
parentff7293bba1fd4cdf54bb90bd1b7a38dd393fee69 (diff)
downloadtalos-petitboot-8b46ab92aeff52b7354bf4f250835f75b4bd824c.tar.gz
talos-petitboot-8b46ab92aeff52b7354bf4f250835f75b4bd824c.zip
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>
Diffstat (limited to 'discover/event.h')
-rw-r--r--discover/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/event.h b/discover/event.h
index a639d9c..1f6966c 100644
--- a/discover/event.h
+++ b/discover/event.h
@@ -14,6 +14,7 @@ enum event_action {
EVENT_ACTION_DHCP,
EVENT_ACTION_BOOT,
EVENT_ACTION_SYNC,
+ EVENT_ACTION_PLUGIN,
EVENT_ACTION_MAX,
};
OpenPOWER on IntegriCloud