* [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config
@ 2013-09-24 10:36 Jack Mitchell
2013-09-24 10:36 ` [meta-oe][PATCHv2 2/2] lmsensors: split out cgi into seperate package Jack Mitchell
2013-10-02 13:53 ` [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config Jack Mitchell
0 siblings, 2 replies; 3+ messages in thread
From: Jack Mitchell @ 2013-09-24 10:36 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jack Mitchell
From: Jack Mitchell <jmitchell@cbnl.com>
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 <jmitchell@cbnl.com>
---
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(+)
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 058ae1b..349cee6 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
@@ -12,6 +12,8 @@ SRC_URI = "file://fancontrol \
file://sensors.conf \
"
+RDEPENDS_${PN}-dev = ""
+
do_install() {
# Install fancontrol configuration file
install -d ${D}${sysconfdir}
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 60df0c6..b3a208e 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
@@ -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"
--
1.8.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [meta-oe][PATCHv2 2/2] lmsensors: split out cgi into seperate package
2013-09-24 10:36 [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config Jack Mitchell
@ 2013-09-24 10:36 ` Jack Mitchell
2013-10-02 13:53 ` [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config Jack Mitchell
1 sibling, 0 replies; 3+ messages in thread
From: Jack Mitchell @ 2013-09-24 10:36 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jack Mitchell
From: Jack Mitchell <jmitchell@cbnl.com>
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 <jmitchell@cbnl.com>
---
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(-)
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 349cee6..343971f 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 b3a208e..a965c29 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
--
1.8.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config
2013-09-24 10:36 [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config Jack Mitchell
2013-09-24 10:36 ` [meta-oe][PATCHv2 2/2] lmsensors: split out cgi into seperate package Jack Mitchell
@ 2013-10-02 13:53 ` Jack Mitchell
1 sibling, 0 replies; 3+ messages in thread
From: Jack Mitchell @ 2013-10-02 13:53 UTC (permalink / raw)
To: openembedded-devel
On 24/09/13 11:36, Jack Mitchell wrote:
> From: Jack Mitchell <jmitchell@cbnl.com>
>
> 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 <jmitchell@cbnl.com>
> ---
> 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(+)
>
> 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 058ae1b..349cee6 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
> @@ -12,6 +12,8 @@ SRC_URI = "file://fancontrol \
> file://sensors.conf \
> "
>
> +RDEPENDS_${PN}-dev = ""
> +
> do_install() {
> # Install fancontrol configuration file
> install -d ${D}${sysconfdir}
> 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 60df0c6..b3a208e 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
> @@ -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?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-02 13:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-24 10:36 [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config Jack Mitchell
2013-09-24 10:36 ` [meta-oe][PATCHv2 2/2] lmsensors: split out cgi into seperate package Jack Mitchell
2013-10-02 13:53 ` [meta-oe][PATCHv2 1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config Jack Mitchell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox