aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMarvin Borner2020-04-15 21:17:41 +0200
committerMarvin Borner2020-04-15 21:17:41 +0200
commite07894d21a0101b10ee6ad851773b725cbb9150d (patch)
tree75631b318a9403395fbb3b40abdade8a475cd30b /run
parentaa3d1b4689e6dadd982fe1e5ca8af69ca39c617d (diff)
Used macro magic to implement function-based logs
Diffstat (limited to 'run')
-rwxr-xr-xrun8
1 files changed, 4 insertions, 4 deletions
diff --git a/run b/run
index 4a5e4b7..b32fe1c 100755
--- a/run
+++ b/run
@@ -120,9 +120,9 @@ make_build() {
cp ./build/user.bin ./iso/user.bin
cp ./build/font.bin ./iso/font.bin
grub-mkrescue -o ./build/melvix.iso ./iso/
- dd if=/dev/zero of=./build/ext2_hda.img bs=1k count=100000 > /dev/zero
- mkfs -t ext2 -i 1024 -b 1024 -F ./build/ext2_hda.img > /dev/zero
- fdisk ./build/ext2_hda.img <<EOF
+ dd if=/dev/zero of=./build/ext2_hda.img bs=1k count=100000 >/dev/zero
+ mkfs -t ext2 -i 1024 -b 1024 -F ./build/ext2_hda.img >/dev/zero
+ fdisk ./build/ext2_hda.img <<EOF
x
c
10
@@ -148,7 +148,7 @@ EOF
}
make_test() {
- qemu_with_flags -cdrom ./build/melvix.iso -hda ./build/ext2_hda.img -boot d
+ qemu_with_flags -cdrom ./build/melvix.iso -hda ./build/ext2_hda.img -hdb ./build/ext2_hdb.img -hdd ./build/ext2_hdd.img -boot d
}
make_debug() {