diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2012-04-23 23:48:32 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-04-26 09:17:27 +0200 |
commit | c557b72f6c82bd65cff8085571eb14659c90e46d (patch) | |
tree | f389c0f63d0f5a2a045c192d743d396ab28c8b1c /meta-oe/classes/testlab.bbclass | |
parent | 56a34a9e60b825908e84e340b3fb06f6842aa82f (diff) | |
download | meta-openembedded-c557b72f6c82bd65cff8085571eb14659c90e46d.tar.gz |
{kernel, module}.bbclass: don't run depmod for module packages during do_rootfs
* depmod already gets executed by pkg_postinst_kernel-image.
* If you build a module using module.bbclass, pkg_postinst returns 1 in
do_rootfs, causing pkg_postinst to run again on first boot. To improve
this situation, I copied pkg_postinst from kernel.bbclass to module.bbclass.
This was rejected by Koen, because he doesn't like the code from
kernel.bblcass, which uses ${STAGING_DIR_KERNEL}. Richard then suggested
that calling depmod during do_rootfs wasn't necessary at all, because
it already gets done by kernel-image.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/classes/testlab.bbclass')
0 files changed, 0 insertions, 0 deletions