Patchwork [meta-intel,3/3] xserver-xorg-video-psb: fix packaging issues

login
register
mail settings
Submitter Nitin A Kamble
Date Nov. 28, 2012, 6:21 p.m.
Message ID <f3c38fa5b0bf38395e258f07cba67c8aca5b7ae4.1354126748.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/39821/
State New
Headers show

Comments

Nitin A Kamble - Nov. 28, 2012, 6:21 p.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

This commit takes care of these packaging warnings.

WARNING: QA Issue: xserver-xorg-video-psb: Files/directories were installed but not shipped
  /usr/lib/xorg/modules/drivers/psb_drv.la
  /usr/lib/xorg/modules/drivers/libmm.la
  /usr/lib/xorg/modules/drivers/.debug
  /usr/lib/xorg/modules/drivers/.debug/psb_drv.so
  /usr/lib/xorg/modules/drivers/.debug/libmm.so

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 .../xserver-xorg-video-psb_0.32.1.bb               |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

Patch

diff --git a/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb
index 7972fcd..afbf31b 100644
--- a/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb
@@ -1,7 +1,7 @@ 
 DESCRIPTION = "2D graphics driver for Poulsbo"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://MIT_License.txt;md5=732825ecdcf420261531d935fcd914a7"
-PR = "r3"
+PR = "r4"
 
 inherit autotools
 
@@ -37,3 +37,9 @@  DEPENDS += "virtual/libgl virtual/xserver"
 RDEPENDS_${PN} = "xserver-psb-module-exa"
 
 COMPATIBLE_MACHINE = "emenlow"
+
+do_install_append() {
+	find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --
+}
+
+FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"