From: Thomas Kunze Date: Tue, 12 Aug 2008 21:47:57 +0000 (+0000) Subject: kernel.bbclass: fix typo in do_sizecheck() X-Git-Tag: Release-2010-05/1~6333^2~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bd84e0b4a622aa91157b5cf19173126a608253c;p=openembedded.git kernel.bbclass: fix typo in do_sizecheck() --- diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 50fbbfb663..2a335af0b6 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}