aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMarvin Borner2020-07-23 21:06:44 +0200
committerMarvin Borner2020-07-23 21:06:44 +0200
commit6becbff5724d79cb3a958db297b5c3310200daea (patch)
tree295a5b4bf7ee2234fdc56c24fec28f936927de21 /run
parenta0b8c61b09200aa3f9e27878cb866648a7d26502 (diff)
Added *very* simple ide and ext2 support
Diffstat (limited to 'run')
-rwxr-xr-xrun4
1 files changed, 3 insertions, 1 deletions
diff --git a/run b/run
index 87ff8bf..0a41b63 100755
--- a/run
+++ b/run
@@ -73,7 +73,9 @@ make_build() {
dd if=/dev/zero of=build/disk.img bs=1k count=16k
sudo mke2fs build/disk.img >/dev/null
dd if=build/boot.bin of=build/disk.img conv=notrunc
- ./ext2util/ext2util -x build/disk.img -wf build/kernel.bin -i 5 >/dev/null
+ cp build/kernel.bin . # For nicer disk img
+ ./ext2util/ext2util -x build/disk.img -wf kernel.bin -i 5 >/dev/null
+ rm kernel.bin
printf "Build finshed successfully!\n\n"
}