From: ChenQi <Qi.Chen@windriver.com>
To: <Erwin.Rieger.ext@rohde-schwarz.com>, <yocto@yoctoproject.org>
Subject: Re: How to use different busybox defconfig's in the initramfs and rootfs image
Date: Tue, 3 Feb 2015 09:48:28 +0800 [thread overview]
Message-ID: <54D028EC.3010001@windriver.com> (raw)
In-Reply-To: <OFE9FE701D.62B0AD26-ONC1257DE0.004958B3-C1257DE0.004958B5@rohde-schwarz.com>
[-- Attachment #1: Type: text/plain, Size: 1407 bytes --]
The only way I know is to make a new recipe, busybox-initramfs.bb, for
example.
Install busybox for image rootfs and busybox-initramfs for initramfs.
Best Regards,
Chen Qi
On 02/02/2015 09:21 PM, Erwin.Rieger.ext@rohde-schwarz.com wrote:
> Hello list,
>
> i have used Yocto to create a initramfs linux kernel and a
> corresponding rootfs for a embedded linux system.
>
> Things are working as expected, so far.
>
> Now i want to fine-tune my setup and want to use a different busybox
> configuration in the initramfs as the one in the rootfs image.
> For example, the initramfs busybox should contain support for
> switch-root and that is not needed in the rootfs.
> On the other hand, the rootfs should contain a "full-fledged" busybox
> (with inetd enabled, for example).
>
> So the question is: How can i build/install a package two times with
> differing configurations in one bitbake run?.
>
> How can this be done the Yocto-way without copying busybox.bb and
> hacking it the way i need it?
>
> I've tried various combinations, e.g. bb-appending busybox, inheriting
> from busybox and so on - but to no avail.
>
> Maybe someone have an idea on how to do that?
>
>
> PS:
> * The kernel recipe is derived (bbappend)
> from core-image-minimal-initramfs.
> * Rootfs recipe is derived from core-image-minimal.bb.
>
>
> --
> Erwin Rieger
> --
>
>
[-- Attachment #2: Type: text/html, Size: 4566 bytes --]
next prev parent reply other threads:[~2015-02-03 1:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 13:21 How to use different busybox defconfig's in the initramfs and rootfs image Erwin.Rieger.ext
2015-02-03 1:48 ` ChenQi [this message]
2015-02-03 9:23 ` Erwin.Rieger.ext
2015-02-04 2:47 ` ChenQi
2015-02-04 8:48 ` Paul Eggleton
2015-02-04 8:49 ` Paul Eggleton
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=54D028EC.3010001@windriver.com \
--to=qi.chen@windriver.com \
--cc=Erwin.Rieger.ext@rohde-schwarz.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.