summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2011-07-12 11:01:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-13 12:15:12 +0100
commitadf2fbf82da7f85bb06e3b01e84a1a45814aaa51 (patch)
treec8e1b14b6ec2e3f1ec251c53452ff76a80e93134 /meta/classes/kernel.bbclass
parentd415c10f8488e0cc4b175ad3d985748d07bbedaa (diff)
downloadopenembedded-core-adf2fbf82da7f85bb06e3b01e84a1a45814aaa51.tar.gz
openembedded-core-adf2fbf82da7f85bb06e3b01e84a1a45814aaa51.tar.bz2
openembedded-core-adf2fbf82da7f85bb06e3b01e84a1a45814aaa51.tar.xz
openembedded-core-adf2fbf82da7f85bb06e3b01e84a1a45814aaa51.zip
kernel.bbclass: fix the broken lines
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index e441748bf..b71a6509e 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -188,8 +188,8 @@ 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
+ if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" ]; then
+ cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" initramfs.$img
fi
done
fi