All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Walsh <tom@openhardware.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: howto? Build something but not deploy in root image
Date: Sun, 15 Jul 2007 09:28:24 -0400	[thread overview]
Message-ID: <469A20F8.2040707@openhardware.net> (raw)
In-Reply-To: <200707091643.00611.openembedded@hrw.one.pl>

Marcin Juszkiewicz wrote:
> Dnia czwartek, 5 lipca 2007, Tom Walsh napisał:
>
>   
>> I have several parts to this project that must be built during the
>> bitbake process (bootstrap-image), but are not part of the target
>> filesystem image.  The total system parts are:
>>
>> * bootloader - ARM - resides in Flash.
>> * kernel - ARM - resides in Flash.
>> * target rootfs image - ARM - resides on MMC card.
>> * Flash Utility - native (x86) - runs on host computer.
>>     
>
> In machine config add:
>
> IMAGEDEPENDS = "bootloader flash-utility-native"
>
> Basically it should be MACHINE_EXTRA_DEPENDS but we do not support it yet 
> properly.
>
>   
>> The only thing that I need in the root filesystem (tmp/rootfs/) is the
>> packages I named from the local conf files. 
>>     
>
> Create own image recipe and add those packages to RDEPENDS and 
> PACKAGE_INSTALL.
>
>   

Yes, that is what I was trying to avoid: building a custom image 
recipe.  It just seemed that it should be possible to thwart the copy of 
the kernel image into /boot from setting a variable or something.  The 
OE system changes quite frequently and I found myself in trouble with my 
own image recipe where I was "away" for several months and "returned".

Adding a DEPENDS for the bootloader and utils within the kernel recipe 
did resolve the issue of having the  image recipe attempting to install 
those two packages into the IMAGE.  I still have a 1.3Meg kernel in the 
/boot directory, though, I guess half a loaf is better than none?  At 
least OE now builds the entire project without stopping along the way to 
complain about "iconv.h" and other such things.

Regards,

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
----------------------------------------------------





  reply	other threads:[~2007-07-15 13:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05  5:01 howto? Build something but not deploy in root image Tom Walsh
2007-07-05 13:52 ` Justin Patrin
2007-07-05 16:03 ` Paul Sokolovsky
2007-07-09 14:42 ` Marcin Juszkiewicz
2007-07-15 13:28   ` Tom Walsh [this message]
2007-07-15 13:33     ` Koen Kooi
2007-07-15 14:53       ` Holger Freyther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=469A20F8.2040707@openhardware.net \
    --to=tom@openhardware.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.