diff mbox series

[isar-cip-core,1/2] initramfs-config: use correct syntax for FILESPATH

Message ID 20201211135448.17147-2-Quirin.Gylstorff@siemens.com (mailing list archive)
State Not Applicable
Headers show
Series Minor Fixes | expand

Commit Message

Quirin Gylstorff Dec. 11, 2020, 1:54 p.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, 7:43 a.m. UTC | #1
On 11.12.20 14:54, 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..68d064f 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}/files:"
>  

"files" is in the default search path of every recipe - just drop that
line I would say.

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..68d064f 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}/files:"
 
 DEBIAN_DEPENDS += ", busybox, patch"