From cba2bf99c33ec5140d1aa02379737a0e3091bd85 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sun, 13 Sep 2026 15:40:03 +1200 Subject: Add stuff to image also fix dbus --- .kas_shell_history | 5 +++++ README.md | 2 +- meta-yerba/conf/distro/yerba.conf | 1 - meta-yerba/recipes-core/images/yerba-image.bb | 11 +++++++++++ meta-yerba/recipes-core/runit/runit-dbus/run | 3 ++- 5 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .kas_shell_history diff --git a/.kas_shell_history b/.kas_shell_history new file mode 100644 index 0000000..766f060 --- /dev/null +++ b/.kas_shell_history @@ -0,0 +1,5 @@ +runqemu +[200~sudo -E env PATH="$PATH" runqemu yerba-x86_64 nonetwork qemuparams="-display vnc=:0 -vga virtio -serial mon:stdio -device usb-host,vendorid=0x2357,productid=0x011e" bootparams="console=tty0" +sudo -E env PATH="$PATH" runqemu yerba-x86_64 nonetwork qemuparams="-display vnc=:0 -vga virtio -serial mon:stdio -device usb-host,vendorid=0x2357,productid=0x011e" bootparams="console=tty0" +clear +exit diff --git a/README.md b/README.md index 8805697..1bec66e 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Jokes aside, once it's ready I'll hopefully provide some better documentation on - Libc: working, glibc - Init system: working, runit - SquashFS image (+ OverlayFS live ISO): TBD -- Networking: TBD +- Networking: working, iwd (TODO add NetworkManager) - Audio: TBD - Package manager: kinda working, dnf (not configured yet) - Atomic updates: TBD (note: use RAUC) diff --git a/meta-yerba/conf/distro/yerba.conf b/meta-yerba/conf/distro/yerba.conf index 6d2a421..b046e28 100644 --- a/meta-yerba/conf/distro/yerba.conf +++ b/meta-yerba/conf/distro/yerba.conf @@ -22,7 +22,6 @@ SKIP_RECIPE[busybox] = "Using chimerautils instead" SKIP_RECIPE[coreutils] = "Using chimerautils instead" PACKAGE_CLASSES = "package_rpm" -EXTRA_IMAGE_FEATURES += " package-management" # some quality assurance stuff? idk tbh ERROR_QA:append = " textrel host-user-contaminated" diff --git a/meta-yerba/recipes-core/images/yerba-image.bb b/meta-yerba/recipes-core/images/yerba-image.bb index 99e9ae2..3d32dd8 100644 --- a/meta-yerba/recipes-core/images/yerba-image.bb +++ b/meta-yerba/recipes-core/images/yerba-image.bb @@ -22,6 +22,17 @@ IMAGE_INSTALL = "\ nano \ curl \ wget \ + tar \ + gzip \ + git \ + xz \ + openssl \ + ca-certificates \ + gcc \ + make \ + ninja \ + meson \ + cmake \ file \ doas \ pipewire \ diff --git a/meta-yerba/recipes-core/runit/runit-dbus/run b/meta-yerba/recipes-core/runit/runit-dbus/run index 4a6b981..52fbcb5 100644 --- a/meta-yerba/recipes-core/runit/runit-dbus/run +++ b/meta-yerba/recipes-core/runit/runit-dbus/run @@ -1,4 +1,5 @@ #!/bin/sh exec 2>&1 -[ ! -d /run/dbus ] && install -m755 -g 22 -o 22 -d /run/dbus +mkdir -p /run/dbus +chmod 0755 /run/dbus exec dbus-daemon --system --nofork --nopidfile -- cgit v1.2.3