Commit graph

14 commits

Author SHA1 Message Date
Florian Klink 135ebdb7b8
Merge pull request #74260 from B4dM4n/virtualbox-update
virtualbox: 6.0.12 -> 6.0.14
2019-12-12 03:52:39 +01:00
Florian Klink 445b872c89 virtualboxExtpack: remove flokli from maintainers
I'm not using virtualbox anymore.
2019-11-28 16:19:09 +01:00
Fabian Möller 041680d936
virtualbox: 6.0.12 -> 6.0.14 2019-11-26 11:58:52 +01:00
Konrad Borowski 8e2c34c0b0 virtualbox: 6.0.10 -> 6.0.12 2019-10-09 22:14:57 +02:00
Tim Steinbach 4e99ef6a18
virtualbox: 6.0.8 -> 6.0.10 2019-09-04 11:12:07 -04:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Ambroz Bizjak 1430e10892 virtualbox: 6.0.6 -> 6.0.8 2019-05-25 21:39:55 +02:00
Ambroz Bizjak 5bec9dc65b virtualbox: 5.2.28 -> 6.0.6
Quite some fixing was needed to get this to work.

Changes in VirtualBox and additions:

- VirtualBox is no longer officially supported on 32-bit hosts so i686-linux is removed from platforms
  for VirtualBox and the extension pack. 32-bit additions still work.

- There was a refactoring of kernel module makefiles and two resulting bugs affected us which had to be patched.
  These bugs were reported to the bug tracker (see comments near patches).

- The Qt5X11Extras makefile patch broke. Fixed it to apply again, making the libraries logic simpler
  and more correct (it just uses a different base path instead of always linking to Qt5X11Extras).

- Added a patch to remove "test1" and "test2" kernel messages due to forgotten debugging code.

- virtualbox-host NixOS module: the VirtualBoxVM executable should be setuid not VirtualBox.
  This matches how the official installer sets it up.

- Additions: replaced a for loop for installing kernel modules with just a "make install",
  which seems to work without any of the things done in the previous code.

- Additions: The package defined buildCommand which resulted in phases not running, including RUNPATH
  stripping in fixupPhase, and installPhase was defined which was not even run. Fixed this by
  refactoring using phases. Had to set dontStrip otherwise binaries were broken by stripping.
  The libdbus path had to be added later in fixupPhase because it is used via dlopen not directly linked.

- Additions: Added zlib and libc to patchelf, otherwise runtime library errors result from some binaries.
  For some reason the missing libc only manifested itself for mount.vboxsf when included in the initrd.

Changes in nixos/tests/virtualbox:

- Update the simple-gui test to send the right keys to start the VM. With VirtualBox 5
  it was enough to just send "return", but with 6 the Tools thing may be selected by
  default. Send "home" to reliably select Tools, "down" to move to the VM and "return"
  to start it.

- Disable the VirtualBox UART by default because it causes a crash due to a regression
  in VirtualBox (specific to software virtualization and serial port usage). It can
  still be enabled using an option but there is an assert that KVM nested virtualization
  is enabled, which works around the problem (see below).

- Add an option to enable nested KVM virtualization, allowing VirtualBox to use hardware
  virtualization. This works around the UART problem and also allows using 64-bit
  guests, but requires a kernel module parameter.

- Add an option to run 64-bit guests. Tested that the tests pass with that. As mentioned
  this requires KVM nested virtualization.
2019-05-09 23:36:57 +02:00
Artemis Tosini ea29d811b5
virtualbox: 5.2.26 → 5.2.28 2019-04-28 23:07:55 +00:00
Florian Klink 29d7e7a0c6 virtualbox: 5.2.22 -> 5.2.26 (#56210) 2019-02-22 17:55:47 -08:00
Ambroz Bizjak 22acb2e3c3 vboxExtpack: Fix the sha256 to be hex.
It does not work if the sha256 is not hex, it fails because VBoxExtPackHelperApp requires to be given a hex hash.
See https://github.com/NixOS/nixpkgs/issues/34846 where the same problem was fixed some time ago.
2018-12-11 20:47:36 +01:00
Alyssa Ross 698b613564
virtualboxExtpack: 5.2.14 -> 5.2.22
Looks like the URL format has changed. Or maybe this is just the first
version and doesn't have a revision? I don't know.
2018-12-07 16:05:55 +00:00
(cdep)illabout d2b5e6eafe
Start trying to actually use the extpack in the virtualbox derivation. 2018-08-10 14:28:57 +09:00
(cdep)illabout 8ccfb99ac0
Add a derivation that downloads the virtualbox extension pack. 2018-08-08 23:22:02 +09:00