Bug 1795

Summary: Simplify core-image-minimal-initramfs and reduce dependencies
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Darren Hart <dvhart>
Component: coreAssignee: Mingli Yu <mingli.yu>
Status: ACCEPTED --- QA Contact:
Severity: enhancement    
Priority: Low CC: kergoth, meta.mr.watcher, meta.watcher, paulg, randy.macleod, richard.purdie, sgw
Version: 1.1   
Target Milestone: 6.1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

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 ?