[oe-commits] Ming Liu : kernel.bbclass: add task dependency between bundle_initramfs and package

git at git.openembedded.org git at git.openembedded.org
Wed Jun 25 06:57:41 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: cc63c6f461e045098c97b5e993279391ae61eec1
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cc63c6f461e045098c97b5e993279391ae61eec1

Author: Ming Liu <ming.liu at windriver.com>
Date:   Wed Jun 25 09:57:12 2014 +0800

kernel.bbclass: add task dependency between bundle_initramfs and package

To ensure the bundled image to be packaged into kernel-image, otherwise, If
bundle_initramfs runs after do_package, the bundled kernel and initramfs
will not be part of the kernel-image package. This can result in boot
failures and other issues when the kernel-image is deployed.

Signed-off-by: Ming Liu <ming.liu at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6ed1cb7..764a9ec 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -146,7 +146,7 @@ python do_devshell_prepend () {
     os.environ["LDFLAGS"] = ''
 }
 
-addtask bundle_initramfs after do_install before do_deploy
+addtask bundle_initramfs after do_install before do_deploy do_package
 
 kernel_do_compile() {
 	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE



More information about the Openembedded-commits mailing list