Patchwork [meta-oe,PATCHv2,1/2] lm_sensors: reset RDEPENDS_${PN}-dev for lmsensors and lmsensors-config

login
register
mail settings
Submitter ml@communistcode.co.uk
Date Sept. 24, 2013, 10:36 a.m.
Message ID <1380018984-6478-1-git-send-email-ml@communistcode.co.uk>
Download mbox | patch
Permalink /patch/58651/
State Accepted, archived
Commit 95c8b4a653166a8f7062e609ebcbdd017129dc45
Headers show

Comments

ml@communistcode.co.uk - Sept. 24, 2013, 10:36 a.m.
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(+)
ml@communistcode.co.uk - Oct. 2, 2013, 1:53 p.m.
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?

Patch

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"