From 26a7561196674b39f9adadcb374f36c503361adb Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sat, 9 Nov 2019 15:11:50 +0100 Subject: Add basic tests --- kernel/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/run') diff --git a/kernel/run b/kernel/run index f9c8df3..26eae12 100755 --- a/kernel/run +++ b/kernel/run @@ -67,7 +67,7 @@ prepare_iso() { } build_iso() { - ld -n -o "$iso_path/isofiles/boot/kernel.bin" -gc-sections -T "$link_script" "$obj_path"/*.o "$(get_rust_bin)" + ld -n -s -o "$iso_path/isofiles/boot/kernel.bin" -gc-sections -T "$link_script" "$obj_path"/*.o "$(get_rust_bin)" grub-mkrescue -d /usr/lib/grub/i386-pc -o "$iso_path/$name.iso" "$iso_path/isofiles" &> /dev/null echo "$kernel_libary" } @@ -92,7 +92,7 @@ run() { "x86_64") qemu="qemu-system-x86_64 -cdrom $iso_path/$name.iso" if $test_mode; then - qemu="$qemu -device isa-debug-exit,iobase=0xf4,iosize=0x04 -serial stdio" + qemu="$qemu -device isa-debug-exit,iobase=0xf4,iosize=0x04 -serial stdio -no-reboot " if $serial_mode; then qemu="$qemu -display none" fi -- cgit v1.2.3-54-g00ecf