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
This commit is contained in:
Christian Helmuth 2024-02-15 08:40:38 +01:00
parent 07669ac991
commit 0b63bb91b6

View File

@ -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