summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index f40ea8985d..dedfab7d54 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -297,6 +297,17 @@ kernel_do_install() {
297} 297}
298do_install[prefuncs] += "package_get_auto_pr" 298do_install[prefuncs] += "package_get_auto_pr"
299 299
300
301SSTATEPOSTINSTFUNCS += "kernelscripts_sstate_postinst"
302kernelscripts_sstate_postinst () {
303 if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ]; then
304 (
305 cd ${STAGING_KERNEL_DIR}
306 oe_runmake scripts
307 )
308 fi
309}
310
300sysroot_stage_all_append() { 311sysroot_stage_all_append() {
301 sysroot_stage_dir ${D}${KERNEL_SRC_PATH} ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH} 312 sysroot_stage_dir ${D}${KERNEL_SRC_PATH} ${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}
302} 313}