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:40 +0000 (14:44 +0000)
commit2b579c4ef9d5136fbe2d2e048db745e1500f3860
tree4476552e1f12ae6d987503adba45d6c4c12c308b
parentff3ffa6face5e96a4ba11cbe7d69356a2f5e7f60
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 ]

(From OE-Core rev: b18c61bae4d7161c087a004bba3c696006f7a2f6)

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]