From 0b63bb91b6934aa63e70d9e1966def8782df85e0 Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Thu, 15 Feb 2024 08:40:38 +0100 Subject: [PATCH] run/nova: cleanup hypervisor binary handling With the following changes, the hypervisor binary from bin/ as well as from depot archives is taken as is and not unnecessarily turned inside out. - Remove objcopy -O elf32-i386 as our grub boots 64-bit binaries very well - Remove strip as bin/hypervisor is already stripped --- tool/run/boot_dir/nova | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tool/run/boot_dir/nova b/tool/run/boot_dir/nova index d0cf746ed2..ed11c74efa 100644 --- a/tool/run/boot_dir/nova +++ b/tool/run/boot_dir/nova @@ -82,12 +82,11 @@ proc run_boot_dir {binaries} { build_core_image $binaries exec mkdir -p [run_dir]/boot - exec [cross_dev_prefix]objcopy -O elf32-i386 [run_dir]/genode/hypervisor [run_dir]/boot/hypervisor - exec [cross_dev_prefix]strip [run_dir]/boot/hypervisor + copy_file [run_dir]/genode/hypervisor [run_dir]/boot/hypervisor remove_genode_dir - exec mv [run_dir]/image.elf [run_dir]/boot/image.elf + exec mv [run_dir]/image.elf [run_dir]/boot/image.elf # # Setup bender options, e.g. serial and applying Intel HWP mode