From: Denys Dmytriyenko <[email protected]> 1. When there's machine-specific override or condition that changes the dependencies, the packagegroup should also be machine-specific. 2. Make sure PACKAGE_ARCH = "${MACHINE_ARCH}" is done after inheriting packagegroup class, or it will default to allarch.
Signed-off-by: Denys Dmytriyenko <[email protected]> --- .../packagegroups/packagegroup-arago-base-tisdk-server-extra.bb | 2 +- .../recipes-core/packagegroups/packagegroup-arago-base.bb | 4 +++- .../recipes-core/packagegroups/packagegroup-arago-console.bb | 6 +++--- .../recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb | 4 +++- .../packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb | 4 +++- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb index c2642aa..4241dd4 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb @@ -159,4 +159,4 @@ RDEPENDS_${PN} = "\ file \ libbz2 \ boost \ - " + " diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb index 11fb8e4..24e185c 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb @@ -1,9 +1,11 @@ DESCRIPTION = "Basic task to get a device booting" LICENSE = "MIT" -PR = "r6" +PR = "r7" inherit packagegroup +PACKAGE_ARCH = "${MACHINE_ARCH}" + ARAGO_ALSA_BASE = "\ alsa-lib \ alsa-utils-aplay \ diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-console.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-console.bb index 7bd6511..baa6bca 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-console.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-console.bb @@ -1,11 +1,11 @@ DESCRIPTION = "Extended task to get more basic and console apps" LICENSE = "MIT" -PR = "r9" - -PACKAGE_ARCH = "${MACHINE_ARCH}" +PR = "r10" inherit packagegroup +PACKAGE_ARCH = "${MACHINE_ARCH}" + # alsa-utils-alsamixer depends on ncurses ARAGO_ALSA_EXTRA = "\ alsa-conf \ diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb index 37e63a3..780363a 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb @@ -1,9 +1,11 @@ DESCRIPTION = "Task to build and install header and libs in sdk" LICENSE = "MIT" -PR = "r8" +PR = "r9" inherit packagegroup +PACKAGE_ARCH = "${MACHINE_ARCH}" + GST_010_DEPS = " \ gstreamer-dev \ gst-plugins-base-dev \ diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb index 67f9eff..1a4c41c 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb @@ -1,9 +1,11 @@ DESCRIPTION = "Task to install Matrix v2 and associated applications sources in the SDK" LICENSE = "MIT" -PR = "r3" +PR = "r4" inherit packagegroup +PACKAGE_ARCH = "${MACHINE_ARCH}" + MATRIX_GUI = " \ matrix-gui-browser-src \ refresh-screen-src \ -- 2.2.0 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
