Skip to contentSkip to conversation

beaglebone: make kernel machine-specific package

PATCH Superseded Vivien Didelot 1 participant 1 message Apr 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 beaglebone: make kernel machine-specific package

Require kernel image and device tree as machine-specific packages with MACHINE_ESSENTIAL_EXTRA_RDEPENDS instead of appending IMAGE_INSTALL.

This binds the packages to the packagegroup-core-boot package group, allowing one to skip their installation, e.g. for container trees.

---
 conf/machine/beaglebone.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
conf/machine/beaglebone.conf +4 -1
index 896a9d73..8d9af4ae 100644
@@ -13,7 +13,10 @@ MACHINE_GUI_CLASS = "bigscreen"
 
 SERIAL_CONSOLES = "115200;ttyS0"
 
-IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS += " \
+	kernel-devicetree \
+	kernel-image-zimage \
+	"
 
 # Refine the list of device targets for ti-pdk class recipes
 TI_PDK_LIMIT_BOARDS = "bbbAM335x"
Signature · 1 line
2.31.1