Patchwork xf86-video-vmware: Fix unpackaged driectory warning

login
register
mail settings
Submitter Richard Purdie
Date March 13, 2012, 3:06 p.m.
Message ID <1331651195.17122.3.camel@ted>
Download mbox | patch
Permalink /patch/23179/
State Accepted
Commit 58b2b72852389b9454dd9082ad2b22b2efbb2c19
Headers show

Comments

Richard Purdie - March 13, 2012, 3:06 p.m.
Fixes the warning:

WARNING: For recipe xf86-video-vmware, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/bin

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb
index e77c918..9dc5e61 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb
@@ -9,9 +9,14 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53"
 DEPENDS += "virtual/libx11 libxvmc drm glproto \
 	    virtual/libgl xineramaproto libpciaccess"
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
 
 SRC_URI[md5sum] = "579bee487309b1bdc8329bf627d43413"
 SRC_URI[sha256sum] = "b24a7cb2d87e416561e25122eab2cd48fc64a2ba105238456eefef16f29f38a3"
+
+do_install_append () {
+	# Remove useless empty directory
+	rmdir ${D}${bindir}
+}