[OE-core] [PATCH] kernel.bbclass: fix malformed patch

Andrea Adami andrea.adami at gmail.com
Tue Jul 12 22:15:31 UTC 2011


* commit 19bda7f2c2dac6363468a49295c38f2095c67c98
* was unfortunately based on a truncated patch.
* Fix the broken line and repair kernel.bbclass.
* Sorry for the noise...

Signed-off-by: Andrea Adami <andrea.adami at gmail.com>
---
 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index e441748..9be55d0 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -189,7 +189,7 @@ kernel_do_configure() {
 	if [ ! -z "${INITRAMFS_IMAGE}" ]; then
 		for img in cpio.gz cpio.lzo cpio.lzma cpio.xz; do
 		if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img"
-			cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$i
+			cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" initramfs.$img
 		fi
 		done
 	fi
-- 
1.7.3.4





More information about the Openembedded-core mailing list