[BusyBox] Busybox init.

Rob Landley rob at landley.net
Tue Nov 9 13:11:29 UTC 2004


On Tuesday 09 November 2004 05:56, Rory Vieira wrote:

> Compile the busybox for the rootfs with the 'linuxrc' option enabled.
> (support from initrd)
> I.s.o. doing 'chroot . /sbin/init ...' do:
>
>   chroot . /linuxrc ...
>
> Ok, so now process with PID 1 isn't called init, but who cares :) It
> does work as expected.

Several things care.  Try "exec chroot . /linuxrc ..." instead.  Then it 
should be able to inherit pid 1.

Rob




More information about the busybox mailing list