Will it be cool to replace some applets with busybox?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
JimLee1996
Posts: 9
Joined: Sun Oct 30, 2016 4:54 am

Will it be cool to replace some applets with busybox?

Post by JimLee1996 »

It will shrink image size, and busybox is really cool on embedded systems.
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Will it be cool to replace some applets with busybox?

Post by MichaIng »

Yeah theoretically busybox is nice. But on the other hand we anyway rely on a apt+systemd+resolvconf+WiFi+SSH ready system.

See the current required packages list: https://github.com/Fourdee/DietPi/blob/ ... #L637-L710

If you compare this to common Debian based images (apt-mark showmanual), the list is tiny. But the dependency tail contains already the full versions of the commands, included into busybox.

So for absolute enthusiasts, that want the most possible minimal Linux system, TinyCore would be the better choice, which is not much more than Linux kernel + busybox, providing a ~11M image size. But of course there is no Debian at all, no APT (which means, most software will not run without manual build or not at all), no systemd init/service/etc handling and lack for most hardware/firmware related features, that DietPi provides out of the box.
JimLee1996
Posts: 9
Joined: Sun Oct 30, 2016 4:54 am

Re: Will it be cool to replace some applets with busybox?

Post by JimLee1996 »

Thank you.

You are right, DietPi is a minimal but powerful system based on debian which gives a full experience of systemd, apt etc.

Really appreciate your works and contributions.

Maybe there are some possible ways to adapt Alpine Linux to some old boards, but they are not dietpi anymore. ;)
Post Reply