]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 19 Jun 2012 07:42:10 +0000 (09:42 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Jun 2012 11:37:22 +0000 (12:37 +0100)
commit4bd5c17f55bc96ce6bbaccf6559aa4ea123ff4cb
tree31e9675f089ff7989fd359b7259e3e02a886c14f
parent7f08d3b6c95ed7ebc1d46852a18a785921d1cc23
kernel.bbclass: pass KERNEL_VERSION to depmod calls in postinst

* without this, kernel upgrades where KERNEL_VERSION is changed
  e.g. 3.4.2 -> 3.4.3 generate .dep for running 3.4.2 and after reboot user ends
  up without any module loaded to make it worse after reboot nothing is upgraded
  to trigger another kernel(-module) postinst to generate .dep for now running 3.4.3

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
meta/classes/kernel.bbclass