summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-23 01:18:03 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-23 01:18:03 +0000
commitd35cf88e849ccad6fce5ab4bbf4cbe96f6e513b9 (patch)
tree925bdbf443ff4b99f66fa6b96293f7e5f8110d00 /classes/kernel.bbclass
parent8581bc05f43d81179added7909e99d3afde1f447 (diff)
kernel.bbclass: do_deploy modules.tgz should operating on PKGD
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 637805e6e3..82719ac22c 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -527,8 +527,8 @@ do_deploy() {
install -m 0644 ${KERNEL_OUTPUT} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
- if [ -d "${D}/lib" ]; then
- fakeroot tar -cvzf ${DEPLOY_DIR_IMAGE}/${MODULES_IMAGE_BASE_NAME}.tgz -C ${D} lib
+ if [ -d "${PKGD}/lib" ]; then
+ fakeroot tar -cvzf ${DEPLOY_DIR_IMAGE}/${MODULES_IMAGE_BASE_NAME}.tgz -C ${PKGD} lib
fi
cd ${DEPLOY_DIR_IMAGE}