As the VirtualBox EFI firmware images can only be built on Windows
they need to be stripped from the Debian virtualbox-ose package.

While doing so I enountered two issues (with VirtualBox 3.2.0 Beta 1):
1) The config option VBOX_WITH_EFIFW_PACKING isn't respected in the
root Makefile.kmk. Attached is a patch that fixes this.

2) When starting a VM that has EFI enabled but the EFI images aren't
available VirtualBox usually displays this error message:
Unknown error creating VM (VERR_FILE_NOT_FOUND).
But sometimes the VM state is set to Aborted and the following message
is displayed instead: "The VM session was aborted.".
The problem is that it's just a generic error message and
VERR_FILE_NOT_FOUND isn't mentioned at all.

Please CC me when replying as I'm not subscribed to vbox-dev.

Thanks,
Felix
diff -Nur virtualbox-ose-3.1.51-dfsg.orig/Makefile.kmk virtualbox-ose-3.1.51-dfsg/Makefile.kmk
--- virtualbox-ose-3.1.51-dfsg.orig/Makefile.kmk	2010-04-27 22:25:22.000000000 +0200
+++ virtualbox-ose-3.1.51-dfsg/Makefile.kmk	2010-05-02 14:02:23.333162297 +0200
@@ -362,7 +362,7 @@
 buildserver-efifw-affinity-hack:
 	$(SHELL) $(PATH_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip.tmp
  endif
-else
+else ifdef VBOX_WITH_EFIFW_PACKING
 #
 # Or from the local copy
 #
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to