]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel.bbclass: Delay rm_work to run after do_bundle_initramfs
authorXufeng Zhang <xufeng.zhang@windriver.com>
Fri, 1 Nov 2013 04:25:17 +0000 (12:25 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Nov 2013 22:04:27 +0000 (22:04 +0000)
commita530781a441652f9bf8ccc779803df7eceade59b
treee46ea67b3d921183300c412bc2b0292d4af9bb20
parent8f84cc99bd1ea946317c87f00ea343b80d9c9a4d
kernel.bbclass: Delay rm_work to run after do_bundle_initramfs

Since kernel will build twice when we are trying to bundle kernel
and initramfs together after commit 609d5a9ab("kernel.bbclass,
image.bbclass: Implement kernel INITRAMFS dependency and bundling"),
thus, the second building for kernel would fail if rm_work is done
previously.

To fix this problem, we need to make do_bundle_initramfs task run
before do_rm_work task.

[YOCTO #5416]

(From OE-Core rev: 8308e22a44a2dea7d1bbfb429b9df9c63714a649)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Xufeng Zhang <xufeng.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass