From 8f712018ecd8314abb78affe9094ea272a231685 Mon Sep 17 00:00:00 2001 From: Eric Benard Date: Thu, 6 May 2010 18:00:58 +0200 Subject: [PATCH] kernel.bbclass: fix staging of .config - in staging.bb : sysroot_stage_dir does : cp -fpPR "$src"/* "$dest" which means it won't copy .config - so do the copy of .config in sysroot_stage_all_append after sysroot_stage_dir Signed-off-by: Eric Benard Signed-off-by: Tom Rini --- classes/kernel.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 989d3e3a21..a157dfc0e9 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -203,6 +203,7 @@ kernel_do_install() { sysroot_stage_all_append() { sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR} + cp -fpPR ${D}/kernel/.config ${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR} } kernel_do_configure() { -- 2.39.5