From: Jan Kiszka <
jan.k...@siemens.com>
When the in-kernel RPMB supplicant is used, there is no need to await
the fTPM appearance, the kernel takes care of it.
Signed-off-by: Jan Kiszka <
jan.k...@siemens.com>
---
 .../initramfs-tee-ftpm-hook/
initramfs-tee-ftpm-hook_0.3.bb    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
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 0a7cd560..94399374 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
@@ -8,14 +8,14 @@
 
 require recipes-initramfs/initramfs-hook/hook.inc
 
-SRC_URI += "file://local-top"
-
 # Can be disabled with kernel 6.12 and above
 # 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 ''}"
 
+SRC_URI:supp-user += "file://local-top"
+
 HOOK_PREREQ:supp-user = "tee-supplicant"
 HOOK_ADD_MODULES = "amdtee arm-tstee optee qcomtee tpm_ftpm_tee"
 SCRIPT_PREREQ:supp-user = "tee-supplicant"
-- 
2.51.0