]> code.ossystems Code Review - openembedded-core.git/commit
module.bbclass: Create a new depmodwrapper to assist cross-installs
authorMark Hatle <mark.hatle@windriver.com>
Thu, 28 Feb 2013 21:51:51 +0000 (15:51 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Mar 2013 14:44:33 +0000 (14:44 +0000)
commitb18c61bae4d7161c087a004bba3c696006f7a2f6
treec619bc591a5efb4f8f0ce9ffa4354ad96a0c32c8
parenta32ea459ca168792161af2d521a14fe00cffb4b3
module.bbclass: Create a new depmodwrapper to assist cross-installs

Previously the build path to STAGING_KERNEL_DIR was being embedded into the
package post install scripts.  We avoid this behavior by generating a special
depmodwrapper script.  This script contains that hard-coded path, ensuring
that re-use of the sstate-cache (and/or packages) will always run through the
wrapper generated by the current build with a checksum that includes
STAGING_KERNEL_DIR.

[ YOCTO #3962 ]

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/classes/kernel.bbclass
meta/classes/module.bbclass
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb [new file with mode: 0644]