From: Eric Benard Date: Thu, 6 May 2010 16:00:58 +0000 (+0200) Subject: kernel.bbclass: fix staging of .config X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f712018ecd8314abb78affe9094ea272a231685;p=openembedded.git 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 --- 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() {