1# This recipe is intended as a 'simpler' replacement for packagegroup-base. 2# Please communicate your use cases and suggestions to the mailinglist(s) 3 4SUMMARY = "Basic task to get a device online" 5 6PR = "r13" 7 8PACKAGE_ARCH = "${MACHINE_ARCH}" 9inherit packagegroup 10 11# Poke extra recomendations into the list using your machine.conf 12# 13MACHINE_EXTRA_RRECOMMENDS ?= "" 14 15# 16# Select between dropbear and openssh 17# Set TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server" in your DISTRO config to get openssh(d) 18# 19TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server" 20 21# 22# The section below is designed to match with packagegroup-boot, but doesn't depend on it to allow for more freedom 23# when writing image recipes. 24# It also avoids the choice between connman/networkmanager/ifupdown since that is an image feature, not a 25# distro feature. 26# 27# Util-linux (u)mount is included because the busybox one can't handle /etc/mtab being symlinked to /proc/mounts 28# 29RDEPENDS:${PN} = "\ 30 ${TASK_BASIC_SSHDAEMON} \ 31 avahi-daemon avahi-utils \ 32" 33 34# 35# The following section is split in 3: 36# 1) Machine features: kernel modules and userspace helpers for those 37# 2) Distro features: packages associated with those 38# 3) Nice to have: packages that are nice to have, but aren't strictly needed 39# 40RRECOMMENDS:${PN} = "\ 41 ${MACHINE_EXTRA_RRECOMMENDS} \ 42 ${@bb.utils.contains("MACHINE_FEATURES", "usbhost", "usbutils", "", d)} \ 43 ${@bb.utils.contains("MACHINE_FEATURES", "alsa", "alsa-utils-alsamixer", "", d)} \ 44 ${@bb.utils.contains("MACHINE_FEATURES", "usbgadget", "kernel-module-g-ether kernel-module-g-serial kernel-module-g-mass-storage", "", d)} \ 45 \ 46 ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "bluez5", "", d)} \ 47 ${@bb.utils.contains("DISTRO_FEATURES", "wifi", "iw wpa-supplicant", "", d)} \ 48 \ 49 tzdata \ 50 \ 51 cpufrequtils \ 52 htop \ 53" 54