From cc5420e90311fe7d42c3674b824c2fa162800e07 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Thu, 11 Jun 2026 20:18:38 +1200 Subject: Add a custom machine conf and distro conf --- meta-yerba/conf/distro/yerba.conf | 23 +++++++++++++++++++++++ meta-yerba/conf/machine/yerba-x86_64.conf | 20 ++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 meta-yerba/conf/distro/yerba.conf create mode 100644 meta-yerba/conf/machine/yerba-x86_64.conf (limited to 'meta-yerba') diff --git a/meta-yerba/conf/distro/yerba.conf b/meta-yerba/conf/distro/yerba.conf new file mode 100644 index 0000000..fa7f320 --- /dev/null +++ b/meta-yerba/conf/distro/yerba.conf @@ -0,0 +1,23 @@ +DISTRO = "yerba" +DISTRO_NAME = "Yerba Linux" +# No versioning, this is rolling-release +DISTRO_VERSION = "rolling" +MAINTAINER = "Arslaan Pathan " + +TCLIBC = "musl" + +# add stuff later +DISTRO_FEATURES = "" + +VIRTUAL-RUNTIME_init_manager = "runit" +VIRTUAL-RUNTIME_initscripts = "initscripts" + +VIRTUAL-RUNTIME_base-utils = "busybox" +VIRTUAL_RUNTIME_login_manager = "busybox" + +# some quality assurance stuff? idk tbh +ERROR_QA:append = " textrel host-user-contaminated" +WARN_QA:append = " buildpaths ldflags" + + + diff --git a/meta-yerba/conf/machine/yerba-x86_64.conf b/meta-yerba/conf/machine/yerba-x86_64.conf new file mode 100644 index 0000000..2f480f2 --- /dev/null +++ b/meta-yerba/conf/machine/yerba-x86_64.conf @@ -0,0 +1,20 @@ +require conf/machine/include/qemuboot-x86.inc +require conf/machine/include/x86-base.inc + +# Replace this later +PREFERRED_PROVIDER_virtual/kernel ??= "linux-dummy" + +KERNEL_IMAGETYPE = "bzImage" + +SERIAL_CONSOLES ?= "115200;ttyS0" + +MACHINE_FEATURES ?= "acpi alsa keyboard pci rtc screen usbhost vfat" + +IMAGE_CLASSES += "qemuboot" +QB_SYSTEM_NAME = "qemu-system-x86_64" +QB_MACHINE = "-machine pc" +QB_CPU = "-cpu core2duo" +QB_KERNEL_CMDLINE_APPEND = "console=ttyS0 oprofile.timer=1" + +IMAGE_FSTYPES += "wic wic.bmap" +WKS_FILE ?= "directdisk.wks" -- cgit v1.2.3