* [PATCH V2] kernel.bbclass: add task dependency between bundle_initramfs and package
@ 2014-06-25 1:57 Ming Liu
2014-06-25 7:13 ` Ming Liu
0 siblings, 1 reply; 2+ messages in thread
From: Ming Liu @ 2014-06-25 1:57 UTC (permalink / raw)
To: openembedded-core
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@windriver.com>
---
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
--
1.8.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V2] kernel.bbclass: add task dependency between bundle_initramfs and package
2014-06-25 1:57 [PATCH V2] kernel.bbclass: add task dependency between bundle_initramfs and package Ming Liu
@ 2014-06-25 7:13 ` Ming Liu
0 siblings, 0 replies; 2+ messages in thread
From: Ming Liu @ 2014-06-25 7:13 UTC (permalink / raw)
To: openembedded-core
Please ignore this V2 too, I found a drawback that if the kernel-module*
are added to the initramfs image, then it will lead us to a circular
dependency risk, maybe we should not add this dependency at all.
//Ming Liu
On 06/25/2014 09:57 AM, Ming Liu wrote:
> 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@windriver.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-25 7:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25 1:57 [PATCH V2] kernel.bbclass: add task dependency between bundle_initramfs and package Ming Liu
2014-06-25 7:13 ` Ming Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.