lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config
PATCH v2 1/2 lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config
From: Jack Mitchell <[email protected]>
When building with dev-pkgs enabled I was hitting an error lmsensors not available. Resetting the RDEPENDS for the dev packages fixes this error as there is no lmsensors or lmsensors-config package defined.
--- meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb | 2 ++ meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb | 2 ++ 2 files changed, 4 insertions(+)
meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb +2 -0
@@ -12,6 +12,8 @@ SRC_URI = "file://fancontrol \ file://sensors.conf \ " +RDEPENDS_${PN}-dev = "" + do_install() { # Install fancontrol configuration file install -d ${D}${sysconfdir}
meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb +2 -0
@@ -16,6 +16,8 @@ SRC_URI[sha256sum] = "ecc91ba3d918e96fb7d5eb9acce978af803b130e0b33b08d5ea05b2bfc inherit update-rc.d +RDEPENDS_${PN}-dev = "" + INITSCRIPT_PACKAGES = "${PN}-fancontrol ${PN}-sensord" INITSCRIPT_NAME_${PN}-fancontrol = "fancontrol" INITSCRIPT_NAME_${PN}-sensord = "sensord"
Signature · 1 line
1.8.4
PATCH v2 2/2 lmsensors: split out cgi into seperate package
From: Jack Mitchell <[email protected]>
Split the CGI files out of sensord package into there own package. This is in order to split out the lighttpd dependancy.
--- 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(-)
meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb +7 -1
@@ -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"
meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb +1 -1
@@ -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
Signature · 1 line
1.8.4
Quoted 31 lines · Jack Mitchell
From: Jack Mitchell <[email protected]>
When building with dev-pkgs enabled I was hitting an error lmsensors not available. Resetting the RDEPENDS for the dev packages fixes this error as there is no lmsensors or lmsensors-config package defined.
Signed-off-by Jack Mitchell <[email protected]>--- meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb | 2 ++ meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb | 2 ++ 2 files changed, 4 insertions(+)meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb +2
-0@@ -12,6 +12,8 @@ SRC_URI = "file://fancontrol \ file://sensors.conf \ " +RDEPENDS_${PN}-dev = "" + do_install() { # Install fancontrol configuration file install -d ${D}${sysconfdir}meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb +0
-0
meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb SRC_URI[sha256sum] = "ecc91ba3d918e96fb7d5eb9acce978af803b130e0b33b08d5ea05b2bfc · line 23
Quoted 8 lines
meta-oe/recipes-support/lm_sensors/lmsensors_3.3.3.bb +2
-0@@ -16,6 +16,8 @@ SRC_URI[sha256sum] = "ecc91ba3d918e96fb7d5eb9acce978af803b130e0b33b08d5ea05b2bfc inherit update-rc.d +RDEPENDS_${PN}-dev = "" + INITSCRIPT_PACKAGES = "${PN}-fancontrol ${PN}-sensord" INITSCRIPT_NAME_${PN}-fancontrol = "fancontrol" INITSCRIPT_NAME_${PN}-sensord = "sensord"
Is anyone able to pick these up if there are no more comments?