No description
  • Lua 54%
  • C 22.3%
  • Python 21.5%
  • Nix 1.6%
  • Shell 0.6%
Find a file
2026-10-08 14:31:51 +11:00
dist-src hello: signal testing 2026-10-08 09:32:52 +11:00
patches feat: port up to second stage gcc 2026-09-25 13:06:56 +10:00
recipes fix: tartarus efi images not being built correctly 2026-10-08 14:31:51 +11:00
scripts nix: update chariot and switch to qemu instead of qemu_full 2026-10-08 09:33:20 +11:00
support port: mlibc stage 1 2026-08-28 05:48:35 +10:00
.gitignore minor: remove .luarc.json 2026-10-02 06:33:39 +10:00
chariot_config.toml chore: update chariot 2026-10-07 06:15:26 +11:00
config.lua refactor: clean up gnu stuff 2026-10-07 13:16:14 +11:00
flake.lock nix: update chariot and switch to qemu instead of qemu_full 2026-10-08 09:33:20 +11:00
flake.nix nix: update chariot and switch to qemu instead of qemu_full 2026-10-08 09:33:20 +11:00
LICENSE feat: base chariot distro stuff 2026-04-12 19:26:50 +10:00
README.md chore: update link to chariot and remove outdated command 2026-10-07 10:19:40 +11:00

Terra

Distribution for Lunar. Uses chariot to manage packages and produce bootable images.

Requirements

  • chariot
  • python3
  • qemu (for running)
  • curl (for fetching OVMF firmware)

Building

todo...

Options:

Option Values Default
arch x86_64, riscv64 x86_64
bootloader tartarus, limine tartarus
buildtype debug, release debug

Running

python3 scripts/qemu.py [options]
Flag Description
--arch Architecture to build and run (x86_64, riscv64); non-x86_64 targets use UEFI + Limine
--riscv64 Shorthand for --arch riscv64
--accel Acceleration mode (tcg, kvm); KVM requires the host architecture to match
--kvm Use KVM acceleration
--tcg Use TCG emulation (default)
--bootloader Bootloader to use (tartarus, limine); Tartarus is only supported on x86_64
--limine Shorthand for --bootloader limine
--uefi Boot with UEFI firmware (OVMF); implied on non-x86_64 targets
--gfx Enable graphical display
--pause Pause CPU at startup
--cores Number of CPU cores (default 2)
--up Use a single core
--acpi Toggle ACPI; required and forced on x86_64
--no-x2apic Disable x2APIC
--x2apic-only Disable xAPIC (TCG + x86_64 only + custom patched qemu)
--release Build in release mode

OVMF firmware is downloaded automatically on first run.