Patchwork [2/2] dbus: fix install for virtclass-nativesdk

login
register
mail settings
Submitter Eric BENARD
Date Nov. 7, 2011, 9:11 p.m.
Message ID <1320700315-11952-2-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/14449/
State Accepted
Commit 5818a885df489f4bc9579d17c6b0efa7777f5ccc
Headers show

Comments

Eric BENARD - Nov. 7, 2011, 9:11 p.m.
* 46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install
which now fails for nativesdk (chown messagebus leads to no
such user)
* tested by building meta-toolchain-qte and running the generated
sdk

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 meta/recipes-core/dbus/dbus.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Scott Garman - Nov. 7, 2011, 9:32 p.m.
On 11/07/2011 01:11 PM, Eric Bénard wrote:
> * 46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install
> which now fails for nativesdk (chown messagebus leads to no
> such user)
> * tested by building meta-toolchain-qte and running the generated
> sdk
>
> Signed-off-by: Eric Bénard<eric@eukrea.com>

Acked-by: Scott Garman <scott.a.garman@intel.com>

> ---
>   meta/recipes-core/dbus/dbus.inc |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
> index caa781c..99b2fc7 100644
> --- a/meta/recipes-core/dbus/dbus.inc
> +++ b/meta/recipes-core/dbus/dbus.inc
> @@ -105,4 +105,8 @@ do_install_virtclass-native() {
>   	# dbus-glib-native and dbus-glib need this xml file
>   	./bus/dbus-daemon --introspect>  ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
>   }
> +
> +do_install_virtclass-nativesdk() {
> +	autotools_do_install
> +}
>   BBCLASSEXTEND = "native nativesdk"

Patch

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index caa781c..99b2fc7 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -105,4 +105,8 @@  do_install_virtclass-native() {
 	# dbus-glib-native and dbus-glib need this xml file
 	./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
 }
+
+do_install_virtclass-nativesdk() {
+	autotools_do_install
+}
 BBCLASSEXTEND = "native nativesdk"