Patchwork [07/16] dbus: Fix unpackaged files warning

login
register
mail settings
Submitter Richard Purdie
Date Feb. 23, 2012, 1:38 p.m.
Message ID <7e0f1eb177221ab37feb1e21e1b83a798963f4c4.1330004039.git.richard.purdie@linuxfoundation.org>
Download mbox | patch
Permalink /patch/21717/
State New
Headers show

Comments

Richard Purdie - Feb. 23, 2012, 1:38 p.m.
WARNING: For recipe dbus, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib/dbus-1.0/test

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/dbus/dbus.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 2a25256..1306450 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -94,6 +94,9 @@  do_install() {
 	# disable dbus-1 sysv script on systemd installs
 	# nearly all distros call the initscript plain 'dbus', but OE-core is different
 	ln -sf /dev/null ${D}/${base_libdir}/systemd/system/dbus-1.service
+	
+	# We don't build tests, don't need the empty directory
+	rmdir ${D}${libdir}/${BPN}*/test/
 }
 
 do_install_virtclass-native() {