]> git.karo-electronics.de Git - meta-kc-bsp.git/commitdiff
packagegroup-base: Add bbappend to create base group for the
authorFlorian Boor <florian@kernelconcepts.de>
Tue, 27 Jul 2021 16:05:42 +0000 (18:05 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Tue, 27 Jul 2021 16:08:13 +0000 (18:08 +0200)
"can" feaure. It is a combined device/distro feature and pulls can utils and
iproute2 into the image.

recipes-core/packagegroups/packagegroup-base.bbappend [new file with mode: 0644]

diff --git a/recipes-core/packagegroups/packagegroup-base.bbappend b/recipes-core/packagegroups/packagegroup-base.bbappend
new file mode 100644 (file)
index 0000000..9f4b668
--- /dev/null
@@ -0,0 +1,11 @@
+PACKAGES_append = " \
+                  ${@bb.utils.contains('MACHINE_FEATURES','can','packagegroup-base-can','',d)} \
+                  "
+
+RDEPENDS_packagegroup-base_append = "\
+    ${@bb.utils.contains('COMBINED_FEATURES', 'can', 'packagegroup-base-can', '',d)} \
+"
+
+RRECOMMENDS_packagegroup-base-can = "\
+    iproute2 \
+    canutils"