[meta-freescale] [meta-fsl-demos][PATCH 02/12] Add packagegroup-fsl-networking-core.bb and packagegroup-fsl-networking-extended.bb

Ann Thornton ra43240 at freescale.com
Wed Aug 19 06:31:56 PDT 2015


Addition of packagegroups for networking.  The core packagegroup file
contains basic networking tools.  If the openembedded network layer is
available, tools from that layer will be used.  It also contains a
server packagegroup that can be used if the network layer is present.

The extended packagegroup contains additional networking tools that
may be desired in a larger, more complex image. Tools from the networking
layer will be included if it is available.

These packagegroups can help to build image recipes without having to
be an expert on network tools and make the recipe more readable.

Signed-off-by: Ann Thornton <ra43240 at freescale.com>
---
 .../packagegroup-fsl-networking-core.bb            | 49 ++++++++++++++++++++++
 .../packagegroup-fsl-networking-extended.bb        | 37 ++++++++++++++++
 2 files changed, 86 insertions(+)
 create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-networking-core.bb
 create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-networking-extended.bb

diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-networking-core.bb b/recipes-fsl/packagegroups/packagegroup-fsl-networking-core.bb
new file mode 100644
index 0000000..96909cd
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-networking-core.bb
@@ -0,0 +1,49 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Freescale Package group for core networking tools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES = "${PN} ${PN}-server"
+
+RDEPENDS_${PN} = " \
+    ethtool \
+    iproute2 \
+    iproute2-tc \
+    iptables \
+    iputils \
+    net-tools \
+    ${NETWORK_LAYER_TOOLS} \
+"
+
+# These need the open embedded networking layer, meta-openembedded/meta-networking
+NETWORK_LAYER_TOOLS = "${@base_contains('BBFILE_COLLECTIONS', 'networking-layer', \
+    'bridge-utils \
+    inetutils \
+    inetutils-ftp \
+    inetutils-hostname \
+    inetutils-ifconfig \
+    inetutils-logger \
+    inetutils-ping \
+    inetutils-ping6 \
+    inetutils-rsh \
+    inetutils-syslogd \
+    inetutils-telnet \
+    inetutils-tftp \
+    inetutils-traceroute \
+    ipsec-tools \
+    tcpdump', \
+    '', d)} \
+"
+RDEPENDS_${PN}-server = "${@base_contains('BBFILE_COLLECTIONS', 'networking-layer', \
+    'inetutils-inetd \
+    inetutils-ftpd \
+    inetutils-rshd \
+    inetutils-tftpd \
+    inetutils-telnetd', \
+    '', d)} \
+"
\ No newline at end of file
diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-networking-extended.bb b/recipes-fsl/packagegroups/packagegroup-fsl-networking-extended.bb
new file mode 100644
index 0000000..c8f1dd7
--- /dev/null
+++ b/recipes-fsl/packagegroups/packagegroup-fsl-networking-extended.bb
@@ -0,0 +1,37 @@
+# Copyright (C) 2015 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Freescale Package group for extended networking tools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = " \
+    bind \
+    curl \
+    dhcp-client \
+    linuxptp \
+    ppp \
+    ppp-dialin \
+    resolvconf \
+    samba \
+    wget \
+    xinetd \
+    ${FSL_WEBSERVER} \
+    ${EXTENDED_NETWORK_LAYER_TOOLS} \
+"
+
+FSL_WEBSERVER ?= ""
+
+# These need the open embedded networking layer, meta-openembedded/meta-networking
+EXTENDED_NETWORK_LAYER_TOOLS = "${@base_contains('BBFILE_COLLECTIONS', 'networking-layer', \
+    'libnfnetlink \
+    ntpdate \
+    ptpd \
+    rp-pppoe', \
+    '', d)} \
+"
\ No newline at end of file
-- 
1.9.1



More information about the meta-freescale mailing list