summaryrefslogtreecommitdiff
path: root/kernel/run
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/run')
-rwxr-xr-xkernel/run4
1 files changed, 2 insertions, 2 deletions
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