meta-digi/meta-digi-dey/recipes-connectivity/packagegroups/packagegroup-dey-network.bb

39 lines
1.0 KiB
BlitzBasic

#
# Copyright (C) 2012 Digi International.
#
SUMMARY = "Network applications packagegroup for DEY image"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
# Distro can override the following VIRTUAL-RUNTIME providers:
VIRTUAL-RUNTIME_ftp-server ?= "vsftpd"
VIRTUAL-RUNTIME_http-server ?= "busybox-httpd"
#VIRTUAL-RUNTIME_http-server ?= "cherokee"
# Choose between ethtool or mii-tool
VIRTUAL-RUNTIME_network-utils ?= "ethtool"
#VIRTUAL-RUNTIME_network-utils ?= "net-tools"
VIRTUAL-RUNTIME_snmp-manager ?= ""
#VIRTUAL-RUNTIME_snmp-manager ?= "net-snmp-server"
VIRTUAL-RUNTIME_ntp-client ?= "busybox-ntpd"
CELLULAR_PKGS = "\
modemmanager \
ppp \
"
RDEPENDS_${PN} = "\
iproute2 \
batctl \
${@bb.utils.contains('DISTRO_FEATURES', 'cellular', '${CELLULAR_PKGS}', '', d)} \
${VIRTUAL-RUNTIME_ftp-server} \
${VIRTUAL-RUNTIME_http-server} \
${VIRTUAL-RUNTIME_network-utils} \
${VIRTUAL-RUNTIME_snmp-manager} \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', '${VIRTUAL-RUNTIME_ntp-client}', d)} \
"