[PATCH RFC] Add a link for /init for initramfs images

Harald Becker ralda at gmx.de
Wed Nov 30 20:37:29 UTC 2011


 Hi!

> On Wednesday, November 30, 2011 11:12 AM, "Darren Hart"
> <dvhart at linux.intel.com> wrote:
>> Initramfs images require a /init. If busybox supports INITRD, add the
>> link.
>> INITRD and INITRAMFS aren't the same thing, but there isn't an INITRAMFS
>> feature as of yet.

What is the reason you are not able to install that link yourself?

IMHO we shall remove that link creation feature of Busybox completely.
Why can't we have a bb_install script that does this installation. That
script may not only install the links. The script may even create
directories, devices and add some necessary (minimalistic) configuration
files (under /etc). In addition the script may be tailored to create
Busybox root systems for different purposes (initrd, initramfs, hd boot
portion, chroot environment, web server cgi environment, etc.). After
root system creation the script is no longer required and may be removed
(not to be included in initramfs - will not waste that space in
minimalistic systems).

Just to give my cent on that topic. I always disable that install
feature to create a Busybox without that overhead. I never used or need
it anyways.

--
Harald



More information about the busybox mailing list