blob: 402e4fa098ed332c38807a2c42d45fccfcc7f557 [file] [log] [blame]
Matt Spinlerc32d9a62018-03-29 16:34:38 -05001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3SRC_URI += "file://plugins.d/ibm_elogall"
4
5install_ibm_plugins() {
6
7 install -m 0755 ${WORKDIR}/plugins.d/ibm_elogall ${D}${dreport_plugin_dir}
8
9}
10
11#Link in the plugins so dreport run them at the appropriate time
12python link_ibm_plugins() {
13
14 workdir = d.getVar('WORKDIR', True)
15 script = os.path.join(workdir, 'plugins.d', 'ibm_elogall')
16 install_dreport_user_script(script, d)
17
18}
19
20do_install[postfuncs] += "install_ibm_plugins"
21do_install[postfuncs] += "link_ibm_plugins"