* Syntax for requiring a dependency task's deploy phase to be finished
@ 2007-11-29 17:53 Matt Hoosier
2007-11-29 19:10 ` [poky] " Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Matt Hoosier @ 2007-11-29 17:53 UTC (permalink / raw)
To: openembedded-devel, poky
Hi,
I'm trying to build a kernel containing an initramfs linked directly
into the kernel binary. This is inspired by the recent discussion
here: building a minimal image with IMAGE_FSTYPE set to cpio.
I need to be sure that by the time the kernel's do_compile task
executes, the minimal image has been deploy to ${DEPLOY_DIR}/image.
What's the right way to write this dependency?
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [poky] Syntax for requiring a dependency task's deploy phase to be finished
2007-11-29 17:53 Syntax for requiring a dependency task's deploy phase to be finished Matt Hoosier
@ 2007-11-29 19:10 ` Richard Purdie
2007-11-29 19:55 ` Koen Kooi
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2007-11-29 19:10 UTC (permalink / raw)
To: poky; +Cc: openembedded-devel
On Thu, 2007-11-29 at 11:53 -0600, Matt Hoosier wrote:
> I'm trying to build a kernel containing an initramfs linked directly
> into the kernel binary. This is inspired by the recent discussion
> here: building a minimal image with IMAGE_FSTYPE set to cpio.
>
> I need to be sure that by the time the kernel's do_compile task
> executes, the minimal image has been deploy to ${DEPLOY_DIR}/image.
> What's the right way to write this dependency?
If I understand correctly you want something like
do_compile[depends] += "minimal-image:do_deploy"
inside the kernel recipe where "minimal-image" is the name of the image
recipe.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [poky] Syntax for requiring a dependency task's deploy phase to be finished
2007-11-29 19:10 ` [poky] " Richard Purdie
@ 2007-11-29 19:55 ` Koen Kooi
2007-11-29 23:44 ` Matt Hoosier
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2007-11-29 19:55 UTC (permalink / raw)
To: Using the OpenEmbedded metadata to build Distributions; +Cc: poky
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Richard Purdie schreef:
> On Thu, 2007-11-29 at 11:53 -0600, Matt Hoosier wrote:
>> I'm trying to build a kernel containing an initramfs linked directly
>> into the kernel binary. This is inspired by the recent discussion
>> here: building a minimal image with IMAGE_FSTYPE set to cpio.
>>
>> I need to be sure that by the time the kernel's do_compile task
>> executes, the minimal image has been deploy to ${DEPLOY_DIR}/image.
>> What's the right way to write this dependency?
>
> If I understand correctly you want something like
>
> do_compile[depends] += "minimal-image:do_deploy"
>
> inside the kernel recipe where "minimal-image" is the name of the image
> recipe.
And make sure *nothing* in that image depends on a kernel at buildtime,
otherwise bitbake will start spewing incomprehensible backtraces :)
A better approach would be to write a bbclass that takes a kernel image
and initramfs and glues those together.
regards,
Koen
- --
koen@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHTxlDMkyGM64RGpERAhg8AJ9suIHZD8NIXvyK0+FwvVQe1iJoxgCeLMKd
u9K/J91oaRA6WV16kTlpaOs=
=yZ7f
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [poky] Syntax for requiring a dependency task's deploy phase to be finished
2007-11-29 19:55 ` Koen Kooi
@ 2007-11-29 23:44 ` Matt Hoosier
0 siblings, 0 replies; 4+ messages in thread
From: Matt Hoosier @ 2007-11-29 23:44 UTC (permalink / raw)
To: openembedded-devel
Cc: Using the OpenEmbedded metadata to build Distributions, poky
On Nov 29, 2007 1:55 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Richard Purdie schreef:
> > On Thu, 2007-11-29 at 11:53 -0600, Matt Hoosier wrote:
> >> I'm trying to build a kernel containing an initramfs linked directly
> >> into the kernel binary. This is inspired by the recent discussion
> >> here: building a minimal image with IMAGE_FSTYPE set to cpio.
> >>
> >> I need to be sure that by the time the kernel's do_compile task
> >> executes, the minimal image has been deploy to ${DEPLOY_DIR}/image.
> >> What's the right way to write this dependency?
> >
> > If I understand correctly you want something like
> >
> > do_compile[depends] += "minimal-image:do_deploy"
> >
> > inside the kernel recipe where "minimal-image" is the name of the image
> > recipe.
>
> And make sure *nothing* in that image depends on a kernel at buildtime,
> otherwise bitbake will start spewing incomprehensible backtraces :)
> A better approach would be to write a bbclass that takes a kernel image
> and initramfs and glues those together.
Okay, thanks to both. Richard's suggestion solves the immediate need.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-29 23:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 17:53 Syntax for requiring a dependency task's deploy phase to be finished Matt Hoosier
2007-11-29 19:10 ` [poky] " Richard Purdie
2007-11-29 19:55 ` Koen Kooi
2007-11-29 23:44 ` Matt Hoosier
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.