dreport: refactor install_dreport_user_scripts

Pull the code that makes the plugin links for a single
script into its own function and then call it from
install_dreport_user_scripts.

This allows other layers to bbappend this recipe and
call the new install_dreport_user_script function so they
can link in their own dreport plugins.

The bbappends would need to:
* install their own plugins into ${D}${dreport_plugin_dir}
* call the new install_dreport_user_script function for
  each of these plugins
* add any new functions to do_install[postfuncs]

Tested: Check that the bitbake output directory structure
        matches what it was before the change.

Change-Id: Id0e97c2ed2f5233df70049a472c2a785f5efde71
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: a20285cd303ad78f32236ac50a7d0b6193f771d5
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE
  7. README.md
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.