[oe-commits] : kernel.bbclass: fix typo in do_sizecheck()
OE GIT Trial
gittrial at amethyst.openembedded.net
Fri Aug 15 12:10:02 UTC 2008
Module: OE.dev
Branch: master
Commit: 5d482170580ebcf29c4ad35e53dbcf387c6d2c6d
URL: http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=5d482170580ebcf29c4ad35e53dbcf387c6d2c6d
Author: <thesing at openembedded.org>
Date: Tue Aug 12 21:47:57 2008 +0000
kernel.bbclass: fix typo in do_sizecheck()
---
classes/kernel.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 50fbbfb..2a335af 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -450,7 +450,7 @@ python populate_packages_prepend () {
# Support checking the kernel size since some kernels need to reside in partitions
# with a fixed length or there is a limit in transferring the kernel to memory
do_sizecheck() {
- if [ ! -z "${KERNEL_IMAGE_MAXSIZE}" -a -z "${DONT_CHECK_KERNELSIZE}"]; then
+ if [ ! -z "${KERNEL_IMAGE_MAXSIZE}" -a -z "${DONT_CHECK_KERNELSIZE}" ]; then
size=`ls -l ${KERNEL_OUTPUT} | awk '{ print $5}'`
if [ $size -ge ${KERNEL_IMAGE_MAXSIZE} ]; then
rm ${KERNEL_OUTPUT}
More information about the Openembedded-commits
mailing list