You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 months ago | |
---|---|---|
.cargo | 6 months ago | |
isofiles/boot/grub | 6 months ago | |
ld | 6 months ago | |
scripts | 6 months ago | |
src | 6 months ago | |
.envrc | 6 months ago | |
.gitignore | 6 months ago | |
COPYING | 6 months ago | |
Cargo.lock | 6 months ago | |
Cargo.toml | 6 months ago | |
README.md | 6 months ago | |
flake.lock | 6 months ago | |
flake.nix | 6 months ago | |
i386-unknown-none.json | 6 months ago | |
i386-unknown-none.txt | 6 months ago | |
meson.build | 6 months ago | |
meson_options.txt | 6 months ago | |
shell.nix | 6 months ago |
README.md
x86os
Environment Setup
Flakes
Nix with flake support is recommended.
nix develop
Legacy Nix
Not recommended, but fully functional.
nix-shell
Direnv
If you have direnv
and Nix with flakes available, just do
direnv allow
and everything else will be taken care of.
Without Nix
Roughly these packages are required, the specific names vary from distro to distro.
rust
clang
nasm
qemu
grub2
xorriso
gdb
meson
ninja
Compiling
To setup a build folder run:
meson build -Drelease=<true/false>
to then build x86os
run:
meson compile -C build
to run the resulting kernel run:
./scripts/run-in-qemu.sh build/x86os