summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-02-03 13:17:07 -0700
committerTom Rini <tom_rini@mentor.com>2010-02-03 13:17:07 -0700
commit8dc84badb1d772f5953492c4022c1f644c4fe278 (patch)
treeb093ef6d4bfad2c1d030624929791249435141df
parent49031ff03256cb8ac350676f4c9c66288abdbd2a (diff)
kernel.bbclass: Fix pstaging do_deploy.
We need to add ${S}/${KERNEL_OUTPUT} with package_stagefile_shell to avoid playing more complex games with the install line. We should also use package_stagefile_shell on the modules tarball as that will not otherwise be reproduced.
-rw-r--r--classes/kernel.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 53ea252b0e..39ff928e6a 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -538,10 +538,12 @@ MODULES_IMAGE_BASE_NAME ?= modules-${PV}-${PR}-${MACHINE}
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 ${KERNEL_OUTPUT} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
+ package_stagefile_shell ${S}/${KERNEL_OUTPUT}
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
if [ -d "${PKGD}/lib" ]; then
fakeroot tar -cvzf ${DEPLOY_DIR_IMAGE}/${MODULES_IMAGE_BASE_NAME}.tgz -C ${PKGD} lib
+ package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MODULES_IMAGE_BASE_NAME}.tgz
fi
cd ${DEPLOY_DIR_IMAGE}