diff mbox series

[isar-cip-core,v2] initramfs-config: use correct syntax for FILESPATH

Message ID 20201214092257.385-1-Quirin.Gylstorff@siemens.com (mailing list archive)
State Not Applicable
Headers show
Series [isar-cip-core,v2] initramfs-config: use correct syntax for FILESPATH | expand

Commit Message

Quirin Gylstorff Dec. 14, 2020, 9:22 a.m. UTC
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

replace the incorrect usage.

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 .../initramfs-config/initramfs-abrootfs-secureboot_0.1.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jan Kiszka Dec. 14, 2020, 9:24 a.m. UTC | #1
On 14.12.20 10:22, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> replace the incorrect usage.
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>  .../initramfs-config/initramfs-abrootfs-secureboot_0.1.bb       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
> index 4243b41..3322d71 100644
> --- a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
> +++ b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
> @@ -10,7 +10,7 @@
>  
>  require recipes-support/initramfs-config/initramfs-config.inc
>  
> -FILESPATH =. "${LAYERDIR_isar-siemens}/recipes-support/initramfs-config/files:"
> +FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}:"
>  

Why that? Just remove FILESPATH, do not add anything, and it should
still work.

Jan

>  DEBIAN_DEPENDS += ", busybox, patch"
>  
>
diff mbox series

Patch

diff --git a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
index 4243b41..3322d71 100644
--- a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
+++ b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
@@ -10,7 +10,7 @@ 
 
 require recipes-support/initramfs-config/initramfs-config.inc
 
-FILESPATH =. "${LAYERDIR_isar-siemens}/recipes-support/initramfs-config/files:"
+FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}:"
 
 DEBIAN_DEPENDS += ", busybox, patch"