[oe-commits] Koen Kooi : linux-kexecboot 2.6.21: do postprocessing on initramfs in do_configure_append

GIT User account git at amethyst.openembedded.net
Fri Jan 30 11:21:20 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: efb46ab0f4c8168d628f6e21c195727ed1a152fb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=efb46ab0f4c8168d628f6e21c195727ed1a152fb

Author: Koen Kooi <koen at openembedded.org>
Date:   Fri Jan 30 12:18:36 2009 +0100

linux-kexecboot 2.6.21: do postprocessing on initramfs in do_configure_append

---

 packages/kexecboot/linux-kexecboot_2.6.21-hh20.bb |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/packages/kexecboot/linux-kexecboot_2.6.21-hh20.bb b/packages/kexecboot/linux-kexecboot_2.6.21-hh20.bb
index 6dd9dd1..9689396 100644
--- a/packages/kexecboot/linux-kexecboot_2.6.21-hh20.bb
+++ b/packages/kexecboot/linux-kexecboot_2.6.21-hh20.bb
@@ -11,3 +11,11 @@ SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26;tag=${@'K' + bb.data.getVar('P
 	   file://defconfig"
 
 S = "${WORKDIR}/kernel26"
+
+
+do_configure_append() {
+	gzip -d ${S}/initramfs.cpio.gz || true
+	sed -i -e s:\.gz::g .config		
+}
+
+





More information about the Openembedded-commits mailing list