Patchwork [5/6] sysstat: fix sa_lib_dir

login
register
mail settings
Submitter Constantin Musca
Date Dec. 27, 2012, 2:13 p.m.
Message ID <7f520fd6e3e3f1223f5becfbd4d280f980fa46f4.1356617488.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/41727/
State Accepted
Commit 6870465851388094773fe74bfdf0777d2761ba27
Headers show

Comments

Constantin Musca - Dec. 27, 2012, 2:13 p.m.
Fix the following warning:
WARNING: QA Issue: sysstat: Files/directories were installed but not shipped
  /usr/lib
  /usr/lib/sa
  /usr/lib/sa/sadc
  /usr/lib/sa/sa2
  /usr/lib/sa/sa1
  /usr/lib/sa/.debug
  /usr/lib/sa/.debug/sadc

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/recipes-extended/sysstat/sysstat.inc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index 287bb54..863f246 100644
--- a/meta/recipes-extended/sysstat/sysstat.inc
+++ b/meta/recipes-extended/sysstat/sysstat.inc
@@ -3,7 +3,7 @@  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"
+INC_PR = "r2"
 
 SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \
 		   file://99_sysstat"
@@ -13,6 +13,10 @@  inherit autotools gettext
 EXTRA_OECONF += "--disable-sensors"
 EXTRA_OEMAKE += 'LFLAGS=""'
 
+do_configure_prepend() {
+    export sa_lib_dir=${libdir}/sa
+}
+
 do_install() {
 	autotools_do_install