[Toybox] pull: fix modprobe, login, switch_root, improve init, reboot

Isaac Dunham ibid.ag at gmail.com
Wed Aug 5 22:04:36 PDT 2015


On Wed, Aug 05, 2015 at 08:03:01PM -0700, Isaac Dunham wrote:
> The following changes since commit ea75e752f930df7b740a773294b997f46927c716:
> 
>   Factor out xconnect(), plus some other small cleanups to telnet.c. (2015-08-03 14:34:01 -0500)
> 
> are available in the git repository at:
> 
>   git://github.com/idunham/toybox up
> 
> for you to fetch changes up to 991b570a02ce8754bba921e46d953858ed28268c:
> 
>   Increase compatability of reboot and init (2015-08-05 18:04:34 -0700)

I guess this commit was a crossed wire. Everything before that should be fine.

Compatability with Busybox init is enough for my uses, and toybox init
actually offers that.


For what it's worth, I just set up a small toybox+pdksh system where
toybox had these patches and one other (making mdev autoload modules);
it can now boot to a working system with only pdksh and toybox for
initrd and userland.
If hard-coding "modprobe -bq $MODALIAS" int mdev is desireable, I can send
that; but I suspect it's not quite fit for inclusion.
> ----------------------------------------------------------------
> Alistair Strachan (1):
>       Fix switch_root implementation.
> 
> Isaac Dunham (6):
>       login: execl() requires a path, not a file name
>       modprobe: delete perror_exit() that makes no sense
>       modprobe: use basename_r()
>       modprobe: use -q to silence
>       scripts/mkflags.c: add missing unistd.h, ctype.h
>       Increase compatability of reboot and init

 1438837476.0


More information about the Toybox mailing list