r/linuxfromscratch • u/Intel-i9 • Jan 30 '26
Minux Updated
I have recently posted about the minimal Linux system I'm building, I was daily doing updates, adding and trying new features, so now:
- BusyBox is now built as a dynamically linked binary using musl libc instead of static build which allows me to add ldd for example.
- I released a ToyBox version also linked to musl libc, with the mksh as shell also linked to musl.
- I'll soon add a package manager, but I don't know what to choose, can you give me any help on the topic ?
I want to keep the binary small (now it is less than 4MB), so the package manager needs to be lightweight.
10
Upvotes
3
u/izuhh__ Jan 30 '26
For a minimal package manager, i'd recomend a source based one.
make it in posix sh or C
or you can fork KISS linux's package manager and adapt it based on your needs
2
u/Intelligent_Comb_338 Jan 31 '26
I know that BusyBox includes many more features than ToyBox, but for a minimalist system and for the uses it can be given, ToyBox is sufficient, plus its code is more modern and cleaner.
0
u/tiny_humble_guy Jan 31 '26
Maybe it sounds like "gate keeping" but let our post related to LFS stuffs (building & troubleshooting LFS using lfs book, post LFS build / BLFS, etc). If you build a custom minimal "distro", that's cool, but you may have other place to "show" it.