diff options
author | WlodekM <[email protected]> | 2025-02-14 21:55:45 +0200 |
---|---|---|
committer | WlodekM <[email protected]> | 2025-02-14 21:55:45 +0200 |
commit | 967d5cd81a190f6aa7ac44c269d60ae3a1071464 (patch) | |
tree | bf548685ed04b2cdc17f768c91702f76b730dad4 /buildkernel.sh | |
parent | c7b710ca3947d74bdb8505398abc18e9d3041ca8 (diff) |
uuuh
Diffstat (limited to 'buildkernel.sh')
-rwxr-xr-x | buildkernel.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/buildkernel.sh b/buildkernel.sh new file mode 100755 index 0000000..f0f397e --- /dev/null +++ b/buildkernel.sh @@ -0,0 +1,9 @@ +./mkramfs.sh +# cd shel ../init/init +INITPATH=$PWD/init.cpio +cd init +find . | cpio -o -H newc > ../init.cpio +cd ../kernel +make isoimage FDARGS="initrd=/init.cpio" FDINITRD=$INITPATH -j 4 +qemu-system-x86_64 -cdrom ./arch/x86/boot/image.iso #-s -S +cd .. \ No newline at end of file |