diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 11 |
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 | } |
298 | do_install[prefuncs] += "package_get_auto_pr" | 298 | do_install[prefuncs] += "package_get_auto_pr" |
299 | 299 | ||
300 | |||
301 | SSTATEPOSTINSTFUNCS += "kernelscripts_sstate_postinst" | ||
302 | kernelscripts_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 | |||
300 | sysroot_stage_all_append() { | 311 | sysroot_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 | } |