kernel.bbclass: Optionally create lib dir during deploy
authorKhem Raj <raj.khem@gmail.com>
Fri, 12 Apr 2013 08:12:55 +0000 (01:12 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Apr 2013 16:00:44 +0000 (17:00 +0100)
commit9679f49dc522d1d807ea5491bd27b39bbb6b4015
tree8c72b9d485307adb9de274a835a047a0ad48a723
parent96825cd02d5e27f83d204674421c19677e172bcc
kernel.bbclass: Optionally create lib dir during deploy

when we have multilib and a 64bit machine and initramfs then image/lib
directory will not be created and it will end up with errors like

| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_deploy
| tar: lib: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors

So in order to overcome this shortcoming lets mkdir -p the
lib directory so the modules can be happily installed.

(From OE-Core rev: 3f501204f375cc40a14597a25cb09faaba9ff802)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass