kernel.bbclass: pass ${KERNEL_VERSION} to depmod -a
authorMichael Smith <msmith@cbnco.com>
Mon, 9 Nov 2009 12:11:36 +0000 (12:11 +0000)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Thu, 4 Mar 2010 15:08:36 +0000 (16:08 +0100)
commit82c4e6b36216f2b1c31116a5c784f5e256a1a241
tree5c6f491d0cc219a82a8393f41e4296e8e0460725
parent7e0dca393772c8145fb8dccd1a5898bc4fb7933a
kernel.bbclass: pass ${KERNEL_VERSION} to depmod -a

The postinsts for kernel-image and modules run "depmod -a" on the
target, but this only updates the old kernel's modules.dep.

"depmod -a ${KERNEL_VERSION}" updates the files in
/lib/modules/${KERNEL_VERSION}.

Signed-off-by: Michael Smith <msmith@cbnco.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
classes/kernel.bbclass