]> code.ossystems Code Review - openembedded-core.git/commit
image: Add missing depends on virtual/kernel for depmod data
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Jan 2015 15:24:52 +0000 (15:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Jan 2015 15:35:29 +0000 (15:35 +0000)
commit41f0f86ec0a3e0b6f6c9bb4ef71a4215c00bf66c
treefc03ba27484725ce8de73728626e83ecfe4434cf
parentfe1f5c90eede593100fe57630d39cf329e59ef8f
image: Add missing depends on virtual/kernel for depmod data

We need the depmod data so that the kernel depmod command works successfully
at rootfs time. The fact this was working inconsistently is now highlighted
after the command was made to error out. A simple test case is:

bitbake virtual/kernel image
bitbake vrituak/kernel -c clean
bitbake image -c rootfs -f

We fix it by adding the missing dependency, the data is in PKGDATA_DIR and
hence we use packagedata.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass