Patchwork [meta-fsl-arm,v2,03/16] packagegroup-fsl-mfgtool: Provide the required packages

login
register
mail settings
Submitter Otavio Salvador
Date Feb. 26, 2014, 9:50 p.m.
Message ID <1393451420-3041-4-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/67503/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Feb. 26, 2014, 9:50 p.m.
This provides the set of packages needed for Manufactoring Tool
initramfs images.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---

Changes in v2: None

 .../packagegroups/packagegroup-fsl-mfgtool.bb      | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb

Patch

diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
new file mode 100644
index 0000000..0afa9b4
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb
@@ -0,0 +1,46 @@ 
+# Copyright (C) 2014 O.S. Systems Software LTDA.
+
+SUMMARY = "Freescale Manufacturing Tool requirements"
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = " \
+    ${PN}-base \
+    ${PN}-mtd \
+    ${PN}-extfs \
+"
+
+# The essential packages for device bootup that may be set in the
+# machine configuration file.
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
+
+# Distro can override the following VIRTUAL-RUNTIME providers:
+VIRTUAL-RUNTIME_keymaps ?= "keymaps"
+
+RDEPENDS_${PN}-base = " \
+    bash \
+    imx-uuc \
+    util-linux \
+    coreutils \
+    dosfstools \
+    base-files \
+    base-passwd \
+    busybox \
+    ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
+    ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
+"
+
+RDEPENDS_${PN}-mtd = " \
+    ${PN}-base \
+    imx-kobs \
+    mtd-utils \
+    mtd-utils-ubifs \
+"
+
+RDEPENDS_${PN}-extfs = " \
+    ${PN}-base \
+    e2fsprogs-mke2fs \
+"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"