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-29 09:52:58 +0000 |
commit | 3f5e982107ce464ebc24ff4698f1e1863417427c (patch) | |
tree | 8816c61d04b2ddfea51cefb2f65b429328b4c2de /meta/classes | |
parent | 3ee3d3ac83cd36ad608b8ea7d6ea5a68a09a78c4 (diff) | |
download | poky-3f5e982107ce464ebc24ff4698f1e1863417427c.tar.gz |
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.
(From OE-Core rev: b2c948d56241ff7cdea2e9e68b740f305c72f5ca)
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() { | |||
290 | } | 290 | } |
291 | do_install[prefuncs] += "package_get_auto_pr" | 291 | do_install[prefuncs] += "package_get_auto_pr" |
292 | 292 | ||
293 | |||
294 | SSTATEPOSTINSTFUNCS += "kernelscripts_sstate_postinst" | ||
295 | kernelscripts_sstate_postinst () { | ||
296 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then | ||
297 | ( | ||
298 | cd ${STAGING_KERNEL_DIR} | ||
299 | oe_runmake scripts | ||
300 | ) | ||
301 | fi | ||
302 | } | ||
303 | |||
304 | python sysroot_stage_all () { | 293 | python sysroot_stage_all () { |
305 | oe.path.copyhardlinktree(d.expand("${D}${KERNEL_SRC_PATH}"), d.expand("${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}")) | 294 | oe.path.copyhardlinktree(d.expand("${D}${KERNEL_SRC_PATH}"), d.expand("${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}")) |
306 | } | 295 | } |