[poky] [PATCH 4/8] yocto-bsp: pass in file object to replace_file()

tom.zanussi at linux.intel.com tom.zanussi at linux.intel.com
Thu Apr 4 15:09:19 PDT 2013


From: Tom Zanussi <tom.zanussi at linux.intel.com>

Pass the file object instead of the filename to replace_file for the
custom template, as now required by replace_file().

Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
---
 .../{{ if kernel_choice == \"custom\": }} linux-yocto-custom/defconfig" | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git "a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom/defconfig" "b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom/defconfig"
index e544a0a..ceb0ffa 100644
--- "a/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom/defconfig"	
+++ "b/scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/{{ if kernel_choice == \"custom\": }} linux-yocto-custom/defconfig"	
@@ -2,4 +2,4 @@
 # Placeholder for custom default kernel configuration.  yocto-bsp will
 # replace this file with a user-specified defconfig.
 #
-{{ if custom_kernel_defconfig: replace_file(current_file, custom_kernel_defconfig) }}
+{{ if custom_kernel_defconfig: replace_file(of, custom_kernel_defconfig) }}
-- 
1.7.11.4




More information about the poky mailing list