From: ChenQi <Qi.Chen@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: Distro vs. Image
Date: Mon, 29 Dec 2014 10:23:52 +0800 [thread overview]
Message-ID: <54A0BB38.3000008@windriver.com> (raw)
In-Reply-To: <CALb2248jSjqK9ALwTsNfgeLkhmF2Ka+mhe5s6N1U51emFEbJVQ@mail.gmail.com>
Hi Schwab,
What do you mean by "distro recipe"?
I can see your initial problem is that you want different config details
for the same image recipe (maybe for different HW, I guess?).
Now we would like to create an "installer" image, i.e. a bootable
image whose job is to install a release(-candidate) image to the HW.
Naturally, some config details in the resulting image will be
different.
Can this be done via bbappend file in different layers?
Can this be done via different distro config files?
Regards,
Chen Qi
On 12/23/2014 11:09 AM, Leo Schwab wrote:
> Up to this point, all our builds for our prototypes have been "image"
> builds, i.e. we built an image recipe starting with
> packagegroup-core-boot, and it's accreted from there. We write the
> resulting .sdcard image file to an SD card and boot from that.
>
> Now we would like to create an "installer" image, i.e. a bootable
> image whose job is to install a release(-candidate) image to the HW.
> Naturally, some config details in the resulting image will be
> different. The more I read, it feels like this wants to be a
> "distro," rather than just another image recipe. Recipes searching
> for files will automagically generate subdirectory search paths based
> on current distro name, which would allow us to substitute different
> config files based on what's being built. (Extra Credit for this
> build would be to incorporate a copy of the release image into the
> installer image.)
>
> Trouble is, none of the docs I've read describe very clearly how to
> make the leap from cobbling image recipes together to creating a
> functionally equivalent distro recipe. Could someone point out some
> resources and examples on how this is meant to be conceptualized and
> used? Thanks in advance for all suggestions.
>
> Schwab
next prev parent reply other threads:[~2014-12-29 2:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-23 3:09 Distro vs. Image Leo Schwab
2014-12-29 2:23 ` ChenQi [this message]
2014-12-29 2:34 ` nick
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=54A0BB38.3000008@windriver.com \
--to=qi.chen@windriver.com \
--cc=yocto@yoctoproject.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.