Skip to contentSkip to conversation

kernel.bbclass: fix staging of .config

PATCH New Eric Benard 1 participant 1 message May 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 classes/kernel.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
classes/kernel.bbclass +1 -0
index 989d3e3..a157dfc 100644
@@ -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() {
Signature · 1 line
1.6.3.3