From 6fd61c04df134fc9bbad03614d301256124250a8 Mon Sep 17 00:00:00 2001 From: Jack Mitchell Date: Tue, 24 Sep 2013 10:36:23 +0000 Subject: lmsensors: split out cgi into seperate package Split the CGI files out of sensord package into there own package. This is in order to split out the lighttpd dependancy. Signed-off-by: Jack Mitchell Signed-off-by: Martin Jansa --- meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb | 8 +++++++- meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb index 349cee6af..343971f1a 100644 --- a/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb +++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb @@ -42,11 +42,17 @@ PACKAGES =+ "${PN}-sensord" # fancontrol script configuration PACKAGES =+ "${PN}-fancontrol" +# sensord web cgi support +PACKAGES =+ "${PN}-cgi" +RRECOMMENDS_${PN}-cgi = "lighttpd lighttpd-module-cgi" +RDEPENDS_${PN}-cgi = "${PN}-sensord" +FILES_${PN}-cgi = "/www/*" + # libsensors configuration file FILES_${PN}-libsensors = "${sysconfdir}/sensors.d/sensors.conf" # sensord logging daemon configuration files -FILES_${PN}-sensord = "${sysconfdir}/sensord.conf /www/*" +FILES_${PN}-sensord = "${sysconfdir}/sensord.conf" # fancontrol script configuration file FILES_${PN}-fancontrol = "${sysconfdir}/fancontrol" diff --git a/meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb b/meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb index b3a208e20..a965c2927 100644 --- a/meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb +++ b/meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb @@ -93,7 +93,7 @@ RDEPENDS_${PN}-sensors = "${PN}-libsensors" FILES_${PN}-sensord = "${bindir}/sensord ${sysconfdir}/init.d/sensord" FILES_${PN}-sensord-dbg = "${bindir}/.debug/sensord" FILES_${PN}-sensord-doc = "${mandir}/man8/sensord.8" -RDEPENDS_${PN}-sensord = "${PN}-sensors rrdtool lighttpd lighttpd-module-cgi" +RDEPENDS_${PN}-sensord = "${PN}-sensors rrdtool" RRECOMMENDS_${PN}-sensord = "lmsensors-config-sensord" # fancontrol script files -- cgit v1.2.3-54-g00ecf