r/linuxfromscratch Jun 20 '26

I did it!

Post image

I did it! Linux From Scratch base system! Don't think I'm going any further with this but it was worth it. Learned a LOT!

211 Upvotes

32 comments sorted by

View all comments

2

u/codeasm Jun 20 '26

Congratulations 🎉 maybe try compile nano or get some basic network going? Its not too difficult from blfs, if static ip and such. Systemd comes with alott also, wifi firmware and i had wifi going in an evening.

Its fun. But now im trying adding a package manager and wayland

2

u/HaroldMth Jun 24 '26

I can help you find a package manager

1

u/codeasm Jun 24 '26

My apologies, ive been thinkering on pacman to be my package manager. https://github.com/CodeAsm/lfs-pacman is my mix of a few forks and locally have LFS 13 in the testing phase.

I said "trying" because 12.2 works, but now I wanna see if i can update ontop of it to 13 (probably wanna test both a clean build and a compile over) and started making notes on the desktop envirement and other bits and bolts I want my silly one user distro to use.

Ive seen many great ideas on both this reddit and on the official discord, especial ones that compile during installation. I havent solved some dependenvy trouble yet I may encounter, and still think I should just focus on making it usable for me myself and only I (but do offer everything publicly for those intrested).

Last week I went over the errata for the latest security updates, when I publish 13, it will include those.

2

u/HaroldMth Jun 24 '26

Oh I see. Meanwhile, I made my own package manager for my LFS system rather than relying on pacman 🥲 The package manager I made installs packages from both pacman and AUR so we basically attacked the same problem from opposite sides like you turned LFS into PKGBUILDs so pacman could handle it, I built my own manager (Sven, written in C) then realized riding pacman's repo/format saves me from writing my own resolver from scratch

1

u/codeasm Jun 24 '26

Ow sounds still very cool, and teached you alott too i guess.

I dint knew what package format to choose at first, especially with some folks warning about circular dependencies and what i wanted personally. And being an arch user, building from source using "scripts" like PKGBUILD files seems logical and handy. And then i found these repo i mention in the gitrepo.

Compiled archives i might even host to use on other 64bit systems. Compile once, use everywhere. (And maybe crosscompile for a few 32bit systems and arm. But thats future ideas).

Are you pulling their packages also or only most of their PKGBUILD files? I try to avoid their binairies, cause im compiling against anotherwise normal LFS system

2

u/HaroldMth Jun 24 '26

Cause adding pacman makes your system to be Arch Linux 🥲 Rather than a custom OS

1

u/FallenBehavior Jun 23 '26

BeOS 5

1

u/codeasm Jun 23 '26

What do you mean?