Skip to contentSkip to conversation

packagegroup: fix md5sum mismatch in do_rootfs

PATCH New Denys Dmytriyenko 1 participant 1 message May 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup: fix md5sum mismatch in do_rootfs

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.

---
 .../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(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb +1 -1
index c2642aa..4241dd4 100644
@@ -159,4 +159,4 @@ RDEPENDS_${PN} = "\
     file \
     libbz2 \
     boost \
-	"
+    "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +3 -1
index 11fb8e4..24e185c 100644
@@ -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 \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-console.bb +3 -3
index 7bd6511..baa6bca 100644
@@ -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 \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst-sdk-target.bb +3 -1
index 37e63a3..780363a 100644
@@ -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 \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb +3 -1
index 67f9eff..1a4c41c 100644
@@ -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 \
Signature · 1 line
2.2.0