Bug 1795 - Simplify core-image-minimal-initramfs and reduce dependencies
Summary: Simplify core-image-minimal-initramfs and reduce dependencies
Status: ACCEPTED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.1
Hardware: All Multiple
: Low enhancement
Target Milestone: 6.1
Assignee: Mingli Yu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-11-30 10:25 UTC by Darren Hart
Modified: 2026-05-28 13:18 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2011-11-30 10:25:29 UTC
core-image-minimal-initramfs includes a recipe "initramfs-live-boot" which installs a simple /init script to mount /proc and /sys and execute the shell. This can be handled by busybox provided it has the INIT feature enabled (and we do by default). I'm sending patches for busybox to include a /init link to /bin/busybox shortly.

It also installs (and therefor depends on) udev. We shouldn't need udev for the the initramfs, Linux kernel support for devtmpfs should be adequate.

I suspect that base-passwd is also not necessary.

With these changes we should be able to remove some dependencies and shrink the size of the initramfs slightly.

(This is a low priority nice-to-have, but I ran across it and didn't want to lose the thought.)
Comment 1 Randy MacLeod 2025-04-24 14:48:34 UTC
Mingli, the initramfs-live-boot is gone but can you review the other parts of the description and tidy up the core-image-minimal-initramfs during 5.3 ?