blob: 324406c1ed53a81ea1e0a235764d39511d96e833 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001# 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"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006
7PACKAGE_ARCH = "${MACHINE_ARCH}"
8inherit packagegroup
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
10# Poke extra recomendations into the list using your machine.conf
11#
12MACHINE_EXTRA_RRECOMMENDS ?= ""
13
14#
15# Select between dropbear and openssh
16# Set TASK_BASIC_SSHDAEMON = "openssh-sshd openssh-sftp openssh-sftp-server" in your DISTRO config to get openssh(d)
17#
18TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server"
19
20#
Patrick Williamsddad1a12017-02-23 20:36:32 -060021# The section below is designed to match with packagegroup-boot, but doesn't depend on it to allow for more freedom
Patrick Williamsb48b7b42016-08-17 15:04:38 -050022# when writing image recipes.
23# It also avoids the choice between connman/networkmanager/ifupdown since that is an image feature, not a
24# distro feature.
25#
26# Util-linux (u)mount is included because the busybox one can't handle /etc/mtab being symlinked to /proc/mounts
27#
Patrick Williams213cb262021-08-07 19:21:33 -050028RDEPENDS:${PN} = "\
Patrick Williamsb48b7b42016-08-17 15:04:38 -050029 ${TASK_BASIC_SSHDAEMON} \
30 avahi-daemon avahi-utils \
31"
32
33#
34# The following section is split in 3:
35# 1) Machine features: kernel modules and userspace helpers for those
36# 2) Distro features: packages associated with those
Patrick Williamsddad1a12017-02-23 20:36:32 -060037# 3) Nice to have: packages that are nice to have, but aren't strictly needed
Patrick Williamsb48b7b42016-08-17 15:04:38 -050038#
Patrick Williams213cb262021-08-07 19:21:33 -050039RRECOMMENDS:${PN} = "\
Patrick Williamsb48b7b42016-08-17 15:04:38 -050040 ${MACHINE_EXTRA_RRECOMMENDS} \
41 ${@bb.utils.contains("MACHINE_FEATURES", "usbhost", "usbutils", "", d)} \
42 ${@bb.utils.contains("MACHINE_FEATURES", "alsa", "alsa-utils-alsamixer", "", d)} \
43 ${@bb.utils.contains("MACHINE_FEATURES", "usbgadget", "kernel-module-g-ether kernel-module-g-serial kernel-module-g-mass-storage", "", d)} \
44 \
Brad Bishop26bdd442019-08-16 17:08:17 -040045 ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "bluez5", "", d)} \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050046 ${@bb.utils.contains("DISTRO_FEATURES", "wifi", "iw wpa-supplicant", "", d)} \
47 \
48 tzdata \
49 \
50 cpufrequtils \
51 htop \
52"