Yerba Linux
- 15 Devlogs
- 22 Total hours
Lightweight rolling-release linux distro
Lightweight rolling-release linux distro
I DID IT
IT WORKS
I CAN LOGIN AS YERBA NOW
WITH THE PASSWORD yerba!!!!

it was PAM.
it’s always PAM.
I just needed to install PAM. 
I got it to run QEMU with a graphical window, AND I also made a logo!!!
I followed the guide from https://anchor.hackclub.com to make this logo, thanks Anchor!
I am still trying to figure out why login for yerba doesnt work 
I’ve got privilege escalation to work along with networking (dhcpcd) and am working on getting audio to work! I’m trying to make a non-root user with a password, for some reason Yocto is yelling at me a lot (its been hours, helpppp)
(p.s. I do not have a relevant screenshot at the moment, and it has been a long day, so here is a filler red gradient that I have for some reason)
Sorry I haven’t been devlogging for a while! I got way too focused on getting back to where I was before on the new Yocto build system!
I have got Yocto to create a working rootfs and load the runit init system!
Yep, another clean slate it is.
This time, it’s Yocto, and it’s here to stay (insha allah).
I HATE YOu NIX.
AAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAA
STOP LINKING AGAINST /NIX/STORE PATHS
iknow nix is meant to be a package manager but WHAT OTHER OPTIONS DO I HAVEEEEE
MAKEFILE IS SCUFFED, BUILDROOT IS MORE EMBEDDED, ETC
atp im just gonna switch off of nix
(yes, clean slate for the distro V2…. yay.. /s)
(i mean i guess i wont be fighting with nix)
IT WORKS IT WORKS IT WORKS
THE INIT SYSTEM DOES THE THING AND SHOWS GETTY
RUNIT WORKS
IT WORKS!!!!!!!!!!!!
Edit: The solution was to launch /usr/bin/runit directly instead of using /usr/bin/runit-init. This is not necessarily correct, but /usr/bin/runit-init is currently broken due to Nixpkgs assuming this is a Nix-based distro when it is not. Insha allah later during the development cycle, I will replace the Nixpkgs flake with my own flake that accounts for this. For now, too bad, the distro boots
I’ve got musl to load into the initramfs, and am working on adding runit as the init system
I am very confused as to why runit fails to switch_root, the error is very cryptic
EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
I GOT THE THING TO WORK!! THE GRAPHICAL TTY!!
are you serious rn, it was a single kernel config opt. i spent very very long debugging this.
a lot longer than i anticipated.
BUT STILL IT WORKED YAYAYAYAYAYAYAYAYAYAY
IT BOOTS!!! IT FREAKING BOOTS!!!!! THE BUSYBOX BUILD WORKS!! THE ROOTFS BUILDS!! IT LOADS THE SQUASHFS WITH OVERLAYFS!!!! YAYAYAYAYAYAYAYAY
Made a lot of refactors, and added placeholder targets
Also got the kernel build to work!!
Made a clean slate and switched my distro’s build system to Nix for reproducibility and to get away from my Makefile that used scuffed hacks
This doesn’t mean my distro will use Nix or be like NixOS, but it will help improve development speed and quality
Finally got it to nix build an initramfs without errors!
Finally got it to create a live ISO and boot with Limine!!!!
Did a bit of debugging and testing, and got the initramfs to boot.
TODO: Make it create a squashfs root
Got a basic build system working for my in-progress distro, Yerba Linux
Builds the Linux kernel, BusyBox, and creates a minimal BusyBox initramfs that drops you to a shell
TODO: Make it create an ISO with GRUB/any bootloader