Matt Spinler | 036c8f9 | 2018-03-29 16:34:38 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | SRC_URI += "file://plugins.d/ibm_elogall" |
| 4 | |
| 5 | install_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 |
| 12 | python 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 | |
| 20 | do_install[postfuncs] += "install_ibm_plugins" |
| 21 | do_install[postfuncs] += "link_ibm_plugins" |