diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-08-12 23:49:17 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-08-12 23:49:17 +0000 |
commit | 7607b318639c6343b6a03cec177cfe24728f0165 (patch) | |
tree | b4dbb850603295b2f4b3be159ff5ad08fe7de1fe | |
parent | 72963c237a9e150ff44a2cec6333e876935222b9 (diff) | |
parent | 1bd84e0b4a622aa91157b5cf19173126a608253c (diff) |
merge of '3c94d9db3ba91b1d4e037bacbd0bce84e35642eb'
and 'e50fc707da1372d68e46edaf3a6915bf53f628b9'
-rw-r--r-- | classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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} |