Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | |
| 4 | SUMMARY = "Basic task to get a device online" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | |
| 6 | PR = "r13" |
| 7 | |
| 8 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 9 | inherit packagegroup |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | |
| 11 | # Poke extra recomendations into the list using your machine.conf |
| 12 | # |
| 13 | MACHINE_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 | # |
| 19 | TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server" |
| 20 | |
| 21 | # |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 22 | # The section below is designed to match with packagegroup-boot, but doesn't depend on it to allow for more freedom |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 | # |
| 29 | RDEPENDS_${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 |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 38 | # 3) Nice to have: packages that are nice to have, but aren't strictly needed |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 39 | # |
| 40 | RRECOMMENDS_${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 | \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 46 | ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "bluez5", "", d)} \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 47 | ${@bb.utils.contains("DISTRO_FEATURES", "wifi", "iw wpa-supplicant", "", d)} \ |
| 48 | \ |
| 49 | tzdata \ |
| 50 | \ |
| 51 | cpufrequtils \ |
| 52 | htop \ |
| 53 | " |