diff options
| author | Ian Moffett <ian@osmora.org> | 2025-12-21 16:48:51 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-12-21 16:48:51 -0500 |
| commit | 10e9348d798d9a683c966480faca00cabc531dd5 (patch) | |
| tree | 063ae71517af235d500d52f21ccc620004184104 /host/bootstrap | |
initial commit
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'host/bootstrap')
| -rwxr-xr-x | host/bootstrap | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/host/bootstrap b/host/bootstrap new file mode 100755 index 0000000..511b88c --- /dev/null +++ b/host/bootstrap @@ -0,0 +1,17 @@ +#!/bin/bash + +set -e + +mkdir -p var/ +mkdir -p var/root/usr/include/ + +if [[ ! -d var/cc/toolchain ]] +then + git clone https://github.com/sigsegv7/osmora-toolchain var/cc/toolchain +fi + +if [[ ! -d mos/boot ]] +then + git clone https://github.com/limine-bootloader/limine.git --branch=v9.3.0-binary --depth=1 mos/boot/limine/ + make -C mos/boot/limine +fi |
