Patchwork dbus: Remove empty ${lindir}dbus-1.0/test directory as we don't build tests

login
register
mail settings
Submitter Andrei Gherzan
Date Feb. 19, 2012, 9:05 p.m.
Message ID <1329685524-30028-1-git-send-email-andrei@gherzan.ro>
Download mbox | patch
Permalink /patch/21415/
State Accepted
Commit d3573ae136c532d3cf537ef05c22f163275f4f41
Headers show

Comments

Andrei Gherzan - Feb. 19, 2012, 9:05 p.m.
This empty directory generates a QA warning of unshippped files/dirs.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 meta/recipes-core/dbus/dbus.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Saul Wold - Feb. 24, 2012, 6:18 p.m.
On 02/19/2012 01:05 PM, Andrei Gherzan wrote:
> This empty directory generates a QA warning of unshippped files/dirs.
>
> Signed-off-by: Andrei Gherzan<andrei@gherzan.ro>
> ---
>   meta/recipes-core/dbus/dbus.inc |    5 ++++-
>   1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
> index 2a25256..588209f 100644
> --- a/meta/recipes-core/dbus/dbus.inc
> +++ b/meta/recipes-core/dbus/dbus.inc
> @@ -10,7 +10,7 @@ DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X
>   DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
>   DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
>
> -INC_PR = "r1"
> +INC_PR = "r2"
>
>   SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
>              file://tmpdir.patch; \
> @@ -91,6 +91,9 @@ do_install() {
>   	# Remove Red Hat initscript
>   	rm -rf ${D}${sysconfdir}/rc.d
>
> +	# Remove empty testexec directory as we don't build tests
> +	rm -rf ${D}${libdir}/dbus-1.0/test
> +
>   	# 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

Merged into OE-core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 2a25256..588209f 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -10,7 +10,7 @@  DEPENDS = "expat virtual/libintl ${@base_contains('DISTRO_FEATURES', 'x11', '${X
 DEPENDS_virtclass-native = "expat-native virtual/libintl-native"
 DEPENDS_virtclass-nativesdk = "expat-nativesdk virtual/libintl-nativesdk virtual/libx11"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
            file://tmpdir.patch; \
@@ -91,6 +91,9 @@  do_install() {
 	# Remove Red Hat initscript
 	rm -rf ${D}${sysconfdir}/rc.d
 
+	# Remove empty testexec directory as we don't build tests
+	rm -rf ${D}${libdir}/dbus-1.0/test
+
 	# 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