All of lore.kernel.org
 help / color / mirror / Atom feed
* How to use different busybox defconfig's in the initramfs and rootfs image
@ 2015-02-02 13:21 Erwin.Rieger.ext
  2015-02-03  1:48 ` ChenQi
  0 siblings, 1 reply; 6+ messages in thread
From: Erwin.Rieger.ext @ 2015-02-02 13:21 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

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: 2963 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-04  8:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.