]> 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, 28 Aug 2012 06:41:44 +0000 (08:41 +0200)
committerScott Garman <scott.a.garman@intel.com>
Mon, 24 Sep 2012 16:51:10 +0000 (09:51 -0700)
commit2a7cdf088e484bb123a72826a02c3169a418ed0a
tree8c213b7b7b10843444059834ec27d29ff10eb33b
parent13d82ecd6b25ff4c34b3639e10113d7ebb33dc88
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