aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-yerba/conf')
-rw-r--r--meta-yerba/conf/distro/yerba.conf23
-rw-r--r--meta-yerba/conf/machine/yerba-x86_64.conf20
2 files changed, 43 insertions, 0 deletions
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 <[email protected]>"
+
+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"