[oe-commits] Tom Rini : kernel.bbclass: Fix pstaging do_deploy.
git version control
git at git.openembedded.org
Wed Feb 3 20:19:18 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8dc84badb1d772f5953492c4022c1f644c4fe278
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8dc84badb1d772f5953492c4022c1f644c4fe278
Author: Tom Rini <tom_rini at mentor.com>
Date: Wed Feb 3 13:17:07 2010 -0700
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.
---
classes/kernel.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 53ea252..39ff928 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}
More information about the Openembedded-commits
mailing list