<br><br>On Wednesday, November 27, 2013, Bruce Ashfield wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 13-11-27 08:44 AM, Richard Purdie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This reverts commit 6a6735cb98d529c8c5376aedb5c951<u></u>339f54fe96.<br>
<br>
The module class already ensures the scripts are rebuilt correctly. Running<br>
this at sstate installation time is problematic since it can require the<br>
cross compiler. Adding such a dependency would cause issues of its own.<br>
</blockquote>
<br>
I was waiting for the dust to clear and have been running with the<br>
same thing here, saves me from sending it and I've removed it from<br>
my queue.<br>
<br>
Acked-by: Bruce Ashfield <<a>bruce.ashfield@windriver.com</a>><br>
<br></blockquote><div><br></div><div>Looks ok to me</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Signed-off-by: Richard Purdie <<a>richard.purdie@linuxfoundation.org</a>><br>
---<br>
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass<br>
index 4974507..24ac778 100644<br>
--- a/meta/classes/kernel.bbclass<br>
+++ b/meta/classes/kernel.bbclass<br>
@@ -290,17 +290,6 @@ kernel_do_install() {<br>
}<br>
do_install[prefuncs] += "package_get_auto_pr"<br>
<br>
-<br>
-SSTATEPOSTINSTFUNCS += "kernelscripts_sstate_<u></u>postinst"<br>
-kernelscripts_sstate_postinst () {<br>
- if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then<br>
- (<br>
- cd ${STAGING_KERNEL_DIR}<br>
- oe_runmake scripts<br>
- )<br>
- fi<br>
-}<br>
-<br>
python sysroot_stage_all () {<br>
oe.path.copyhardlinktree(d.<u></u>expand("${D}${KERNEL_SRC_PATH}<u></u>"), d.expand("${SYSROOT_DESTDIR}${<u></u>KERNEL_SRC_PATH}"))<br>
}<br>
<br>
<br>
</blockquote>
<br>
</blockquote>