initramfs-tee-ftpm-hook: Fix missing separator in OVERRIDES append

Message ID 20251126092443.3298987-1-s-adivi@ti.com
State Superseded, archived
Headers show
Series initramfs-tee-ftpm-hook: Fix missing separator in OVERRIDES append | expand

Commit Message

Sai Sree Kartheek Adivi Nov. 26, 2025, 9:24 a.m. UTC
Prepend the missing colon to the appended string to ensure 'supp-user'
is registered as a distinct override.

This ensures that SRC_URI:supp-user takes effect when
TEE_SUPPLICANT_IN_USERLAND is to "1".

Fixes: 3896e4da ("initramfs-tee-ftpm-hook: Use override to model variations")
Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
---
 .../initramfs-tee-ftpm-hook/initramfs-tee-ftpm-hook_0.3.bb      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-initramfs/initramfs-tee-ftpm-hook/initramfs-tee-ftpm-hook_0.3.bb b/meta/recipes-initramfs/initramfs-tee-ftpm-hook/initramfs-tee-ftpm-hook_0.3.bb
index 94399374..f1015028 100644
--- a/meta/recipes-initramfs/initramfs-tee-ftpm-hook/initramfs-tee-ftpm-hook_0.3.bb
+++ b/meta/recipes-initramfs/initramfs-tee-ftpm-hook/initramfs-tee-ftpm-hook_0.3.bb
@@ -12,7 +12,7 @@  require recipes-initramfs/initramfs-hook/hook.inc
 # NOTE: default will eventually be flipped
 TEE_SUPPLICANT_IN_USERLAND ?= "1"
 
-OVERRIDES .= "${@'supp-user' if bb.utils.to_boolean(d.getVar('TEE_SUPPLICANT_IN_USERLAND')) else ''}"
+OVERRIDES .= "${@':supp-user' if bb.utils.to_boolean(d.getVar('TEE_SUPPLICANT_IN_USERLAND')) else ''}"
 
 SRC_URI:supp-user += "file://local-top"