aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/conf/machine
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-06-11 20:18:38 +1200
committerArslaan Pathan <[email protected]>2026-06-11 20:18:38 +1200
commitcc5420e90311fe7d42c3674b824c2fa162800e07 (patch)
treea5c0fa1fad9439f6aa47f6fae70842d4a5f9a208 /meta-yerba/conf/machine
parent76c0053d4db24a32733f2cef8ce37bba8e8e2da6 (diff)
downloadyerbalinux-cc5420e90311fe7d42c3674b824c2fa162800e07.tar.xz
yerbalinux-cc5420e90311fe7d42c3674b824c2fa162800e07.zip
Add a custom machine conf and distro conf
Diffstat (limited to 'meta-yerba/conf/machine')
-rw-r--r--meta-yerba/conf/machine/yerba-x86_64.conf20
1 files changed, 20 insertions, 0 deletions
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"