Skip to content
Commit c557b72f authored by Andreas Oberritter's avatar Andreas Oberritter Committed by Martin Jansa
Browse files

{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: default avatarAndreas Oberritter <obi@opendreambox.org>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent 56a34a9e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment