diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2010-02-14 01:19:08 +0100 |
---|---|---|
committer | Andrea Adami <andrea.adami@gmail.com> | 2010-02-14 01:19:08 +0100 |
commit | 45f82a941c77e9d747814fa1e337ba803475d327 (patch) | |
tree | 707b6edc2907dc83061972425f1d2ee7459a44a5 /classes | |
parent | 860e9c92702c0551f397d3fab0a8e404fad4dbe5 (diff) |
zaurus-kernels: move the kernel size check to linux-kexecboot.inc.
* no need for DONT_CHECK_KERNELSIZE
* clean up the affected files
* check happens only if KERNEL_IMAGE_MAXSIZE is set
Diffstat (limited to 'classes')
-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 39ff928e6a..d4ecf72505 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -497,7 +497,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}" ]; then size=`ls -l ${KERNEL_OUTPUT} | awk '{ print $5}'` if [ $size -ge ${KERNEL_IMAGE_MAXSIZE} ]; then rm ${KERNEL_OUTPUT} |