Openembedded Core Discussions
 help / color / mirror / Atom feed
* Purpose and status of core-image-tiny-initramfs
@ 2026-11-25 12:59 Francesco Valla
  2026-11-25 17:31 ` [OE-core] " Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Valla @ 2026-11-25 12:59 UTC (permalink / raw)
  To: openembedded-core; +Cc: francesco

Hello,

a couple of days ago I was searching for a small initramfs image to do
quick-and-dirty kernel testing and I stumbled upon
core-image-tiny-initramfs, which I never heard of. Attracted by the name
I tried to build it, but I received a build error that stated that
busybox-mdev was not found. I then opened the recipe and found that:

 - it contains VIRTUAL-RUNTIME_dev_manager ?= busybox-mdev, but since
   this assignment is only local, it does not propagate upwards
   (rightfully!);
 - it then tries to install ${VIRTUAL-RUNTIME_dev_manager}, which in my
   case solves as busybox-mdev, since I have INIT_MANAGER = "systemd";
 - it also tries to install initramfs-live-boot-tiny, being its only
   in-tree consumer, that RDEPENDS directly on busybox-mdev.

While I understand the behavior, I cannot say the same for the purpose.
Digging a bit, and judging from comments here and there, I believe this
is a somewhat old recipe used to obtain the smallest bootable initramfs
able to arrive to a shell. Such an image would be very useful for my
activities... if only it was building :)

Question: may I propose some changes for the entire setup, maybe
dropping entirely initramfs-live-boot-tiny and depending only on
initramfs-boot (less to maintain is better, after all) or is someone
depending on this exact setup?

Thank you in advance.

Best regards,
Francesco


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

* Re: [OE-core] Purpose and status of core-image-tiny-initramfs
  2026-11-25 12:59 Purpose and status of core-image-tiny-initramfs Francesco Valla
@ 2026-11-25 17:31 ` Alexander Kanavin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2026-11-25 17:31 UTC (permalink / raw)
  To: francesco; +Cc: openembedded-core

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

On Wed, 25 Nov 2026 at 13:59, Francesco Valla via openembedded-core
<francesco=valla.it@lists.openembedded.org> wrote:

> Question: may I propose some changes for the entire setup, maybe
> dropping entirely initramfs-live-boot-tiny and depending only on
> initramfs-boot (less to maintain is better, after all) or is someone
> depending on this exact setup?


I don't think anyone is, given that it does not build, is not tested, and
has nothing depending on it. If you can propose improvements and cleanups,
please go ahead.

Alternatively, you can fix up the image if you think it's useful, and add
tests for it. You can review the following to see where the tests could fit:

meta/lib/oeqa/selftest/cases/uboot.py
meta/lib/oeqa/selftest/cases/wic.py
meta/lib/oeqa/selftest/cases/uki.py

Alex

[-- Attachment #2: Type: text/html, Size: 1223 bytes --]

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

end of thread, other threads:[~2026-11-25 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 12:59 Purpose and status of core-image-tiny-initramfs Francesco Valla
2026-11-25 17:31 ` [OE-core] " Alexander Kanavin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox