aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-04-15 20:54:22 +0000
committerKoen Kooi <koen@openembedded.org>2008-04-15 20:54:22 +0000
commitd63f0339310179bf93540142c63186b143ec49c1 (patch)
treea3521bdbfabdf1d7f9118f23bb424d72068a28f4 /classes
parent5a851a713f34dd2443f76d5f61550b4ccc650437 (diff)
downloadopenembedded-d63f0339310179bf93540142c63186b143ec49c1.tar.gz
openembedded-d63f0339310179bf93540142c63186b143ec49c1.tar.bz2
openembedded-d63f0339310179bf93540142c63186b143ec49c1.zip
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
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
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