From 899f89eb33043d76fda4c226cba1b903f87ad486 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Tue, 19 Oct 2021 12:23:28 +0200 Subject: [PATCH] digi-defaults: use '+=' operator in assignment of BOOT_SCRIPTS Other layers, such as meta-digi-dualboot, may add scripts to this list on their layer.conf file. Depending on the order and priority of layers, using a strict '=' here completely overrides previous values, which is not desired. Reported-by: Francisco Gil Signed-off-by: Hector Palacios --- meta-digi-arm/conf/machine/include/digi-defaults.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-digi-arm/conf/machine/include/digi-defaults.inc b/meta-digi-arm/conf/machine/include/digi-defaults.inc index b2a6f9271..f6921088d 100644 --- a/meta-digi-arm/conf/machine/include/digi-defaults.inc +++ b/meta-digi-arm/conf/machine/include/digi-defaults.inc @@ -84,4 +84,5 @@ GRAPHICAL_IMAGES ?= "dey-image-qt dey-image-webkit" DEY_SELINUX_POLICY ?= "1" # U-Boot scripts to include in 'linux' partition -BOOT_SCRIPTS = "boot.scr:boot.scr" +# (use the '+=' operator, since other layers may append scripts to this list) +BOOT_SCRIPTS += "boot.scr:boot.scr"