Patchwork sysstat: Explicitly disable sensors support.

login
register
mail settings
Submitter Marc Ferland
Date Aug. 30, 2012, 6:08 p.m.
Message ID <1346350125-10939-1-git-send-email-ferlandm@sonatest.com>
Download mbox | patch
Permalink /patch/35565/
State Accepted
Commit 686a2b5201aa5ebe46162a0ad9d60d87c63486e0
Headers show

Comments

Marc Ferland - Aug. 30, 2012, 6:08 p.m.
Since no lmsensors recipe exists by default in oe-core, explicitly disable
support for it in sysstat. In my case sysstat would fail linking complaining
about undefined references when adding my own lmsensors recipe.

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
---
 meta/recipes-extended/sysstat/sysstat.inc       |    2 ++
 meta/recipes-extended/sysstat/sysstat_10.0.5.bb |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
Saul Wold - Aug. 31, 2012, 4:08 p.m.
On 08/30/2012 11:08 AM, Marc Ferland wrote:
> Since no lmsensors recipe exists by default in oe-core, explicitly disable
> support for it in sysstat. In my case sysstat would fail linking complaining
> about undefined references when adding my own lmsensors recipe.
>
> Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
> ---
>   meta/recipes-extended/sysstat/sysstat.inc       |    2 ++
>   meta/recipes-extended/sysstat/sysstat_10.0.5.bb |    2 +-
>   2 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
> index 9da40a7..287bb54 100644
> --- a/meta/recipes-extended/sysstat/sysstat.inc
> +++ b/meta/recipes-extended/sysstat/sysstat.inc
> @@ -3,12 +3,14 @@ DESCRIPTION = "The sysstat utilities are a collection of performance monitoring
>   HOMEPAGE = "http://sebastien.godard.pagesperso-orange.fr/"
>   LICENSE = "GPLv2+"
>   SECTION = "console/utils"
> +INC_PR = "r1"
>
>   SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \
>   		   file://99_sysstat"
>
>   inherit autotools gettext
>
> +EXTRA_OECONF += "--disable-sensors"
>   EXTRA_OEMAKE += 'LFLAGS=""'
>
>   do_install() {
> diff --git a/meta/recipes-extended/sysstat/sysstat_10.0.5.bb b/meta/recipes-extended/sysstat/sysstat_10.0.5.bb
> index 233102a..1c8595a 100644
> --- a/meta/recipes-extended/sysstat/sysstat_10.0.5.bb
> +++ b/meta/recipes-extended/sysstat/sysstat_10.0.5.bb
> @@ -2,7 +2,7 @@ require sysstat.inc
>
>   LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
>
> -PR = "r0"
> +PR = "${INC_PR}.1"
>
>   SRC_URI[md5sum] = "208dd236d726d20591d53d3a20124dd4"
>   SRC_URI[sha256sum] = "1f474d6ca742af73d0f9d09a374bda64c72bccb126aef327fa74383ff438feff"
>
Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index 9da40a7..287bb54 100644
--- a/meta/recipes-extended/sysstat/sysstat.inc
+++ b/meta/recipes-extended/sysstat/sysstat.inc
@@ -3,12 +3,14 @@  DESCRIPTION = "The sysstat utilities are a collection of performance monitoring
 HOMEPAGE = "http://sebastien.godard.pagesperso-orange.fr/"
 LICENSE = "GPLv2+"
 SECTION = "console/utils"
+INC_PR = "r1"
 
 SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \
 		   file://99_sysstat"
 
 inherit autotools gettext
 
+EXTRA_OECONF += "--disable-sensors"
 EXTRA_OEMAKE += 'LFLAGS=""'
 
 do_install() {
diff --git a/meta/recipes-extended/sysstat/sysstat_10.0.5.bb b/meta/recipes-extended/sysstat/sysstat_10.0.5.bb
index 233102a..1c8595a 100644
--- a/meta/recipes-extended/sysstat/sysstat_10.0.5.bb
+++ b/meta/recipes-extended/sysstat/sysstat_10.0.5.bb
@@ -2,7 +2,7 @@  require sysstat.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 
-PR = "r0"
+PR = "${INC_PR}.1"
 
 SRC_URI[md5sum] = "208dd236d726d20591d53d3a20124dd4"
 SRC_URI[sha256sum] = "1f474d6ca742af73d0f9d09a374bda64c72bccb126aef327fa74383ff438feff"