summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-04-30 10:16:27 +0000
committerKoen Kooi <koen@openembedded.org>2008-04-30 10:16:27 +0000
commit32acb7b31f8ce7ec7e56700a6995eb9142edd979 (patch)
tree51bd3d35d3bbf9d315c13896f8fec2a60238ce47
parent6233c336cf00313f4e6d3333d6cdcd235a21b384 (diff)
kernel bbclass: ${D} doesn't always have a trailing /, so put one in, sh is flexible enough to take care of '//' inside paths
-rw-r--r--classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index a295c144e7..47bb4b91ef 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -471,7 +471,7 @@ do_deploy() {
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
- if [ -d "${D}lib" ]; then
+ if [ -d "${D}/lib" ]; then
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${PV}-${PR}-${MACHINE}.tgz -C ${D} lib
fi