sysstat: Add ability to enable lm-sensors
PATCH 1/1 sysstat: Add ability to enable lm-sensors
Add lm-sensors PACKAGECONFIG option.
Change from setting LFLAGS="" to --disable-strip, otherwise lm-sensors will not link properly.
Signed-off-by Mark Hatle <[email protected]>
--- meta/recipes-extended/sysstat/sysstat.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-extended/sysstat/sysstat.inc +4 -2
@@ -17,8 +17,10 @@ DEPENDS += "base-passwd" # autotools-brokensep as this package doesn't use automake inherit autotools-brokensep gettext systemd -EXTRA_OECONF += "--disable-sensors" -EXTRA_OEMAKE += 'LFLAGS=""' +PACKAGECONFIG ??= "" +PACKAGECONFIG[lm-sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors" + +EXTRA_OECONF += "--disable-stripping" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "sysstat.service"
Signature · 1 line
1.8.3.1