From: Koen Kooi Date: Tue, 15 Apr 2008 20:54:22 +0000 (+0000) Subject: kernel bbclass: have modules.tgz have the same version and packages and deployed... X-Git-Tag: Release-2010-05/1~7190 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d63f0339310179bf93540142c63186b143ec49c1;p=openembedded.git kernel bbclass: have modules.tgz have the same version and packages and deployed images (PV) instead of pulling it out of the makefile (KERNEL_VERSION) * before: 836K modules-2.6.25-rc8-davinci1-r1-davinci-sffsdr.tgz 1.4M uImage-2.6.24+2.6.25-rc8-r1-davinci-sffsdr.bin * after: 836K modules-2.6.24+2.6.25-rc8-r1-davinci-sffsdr.tgz 1.4M uImage-2.6.24+2.6.25-rc8-r1-davinci-sffsdr.bin --- diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 35b0374f77..90583b42a4 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -470,7 +470,7 @@ do_deploy() { install -d ${DEPLOY_DIR_IMAGE} install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin - tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib + tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${PV}-${PR}-${MACHINE}.tgz -C ${D} lib if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then if test -e arch/${ARCH}/boot/compressed/vmlinux ; then