collectd: build with rrdcached plugin

rrdcached package is provided by rrdtool recipe. The build dependency in PACKAGECONFIG is changed to rrdtool.
    The error was:
     Nothing PROVIDES 'rrdcached' but ../collectd_5.12.0.bb DEPENDS on or otherwise requires it). Close matches:
      rrdtool RPROVIDES rrdcached
    ERROR: Required build target 'collectd' has no buildable providers.
    Missing or unbuildable dependency chain was: ['collectd', 'rrdcached']

    With the patch, collectd builds with no errors and the final image I tested includes collectd with rrdcached plugin.
    Tested on custom image with collectd_5.12.0.

Signed-off-by: Βούλγαρη Αικατερίνη <aikaterini.voulgari@softcom-int.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Βούλγαρη Αικατερίνη
2023-09-04 13:12:58 +03:00
committed by Khem Raj
parent 59e296dc30
commit b479a6face
@@ -50,7 +50,7 @@ PACKAGECONFIG[libmnl] = "--with-libmnl,--without-libmnl,libmnl"
PACKAGECONFIG[libatasmart] = "--with-libatasmart,--without-libatasmart,libatasmart"
PACKAGECONFIG[ldap] = "--enable-openldap --with-libldap,--disable-openldap --without-libldap, openldap"
PACKAGECONFIG[rrdtool] = "--enable-rrdtool,--disable-rrdtool,rrdtool"
PACKAGECONFIG[rrdcached] = "--enable-rrdcached,--disable-rrdcached,rrdcached"
PACKAGECONFIG[rrdcached] = "--enable-rrdcached,--disable-rrdcached,rrdtool"
PACKAGECONFIG[python] = "--enable-python,--disable-python"
EXTRA_OECONF = " \