Build a basic Linux kernel and ramdisk that can start in QEMU.

This commit is contained in:
Adam Wick
2020-12-30 10:50:16 -08:00
commit 1838e73db3
7 changed files with 1801 additions and 0 deletions

4
scripts/build-ramfs.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
mkdir -p artifacts/ramdisk
docker run --rm -v "$(pwd)/artifacts/ramdisk:/build/artifacts" lam-kernel bash -c "cd /build/ramfs && ./buildramfs.sh && cp initramfs /build/artifacts/initramfs.cpio.gz"