diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-27 13:44:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-27 14:28:43 +0000 |
commit | b2c948d56241ff7cdea2e9e68b740f305c72f5ca (patch) | |
tree | 8c699b8d7953ff6cd708c101eade603100fe6fae /meta/classes | |
parent | ce17144b736b364175ab76e19e720292edfd2d81 (diff) | |
download | openembedded-core-b2c948d56241ff7cdea2e9e68b740f305c72f5ca.tar.gz openembedded-core-b2c948d56241ff7cdea2e9e68b740f305c72f5ca.tar.bz2 openembedded-core-b2c948d56241ff7cdea2e9e68b740f305c72f5ca.zip |
Revert "kernel: restore scripts in the sysroot"
This reverts commit 6a6735cb98d529c8c5376aedb5c951339f54fe96.
The module class already ensures the scripts are rebuilt correctly. Running
this at sstate installation time is problematic since it can require the
cross compiler. Adding such a dependency would cause issues of its own.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 4974507a94..24ac7786db 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -290,17 +290,6 @@ kernel_do_install() { } do_install[prefuncs] += "package_get_auto_pr" - -SSTATEPOSTINSTFUNCS += "kernelscripts_sstate_postinst" -kernelscripts_sstate_postinst () { - if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then - ( - cd ${STAGING_KERNEL_DIR} - oe_runmake scripts - ) - fi -} - python sysroot_stage_all () { oe.path.copyhardlinktree(d.expand("${D}${KERNEL_SRC_PATH}"), d.expand("${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}")) } |