* qemu-kvm: install a symlink "qemu-kvm" to "qemu-system-x86_64".
Libvirt (and Nova) expects this. svn path=/nixpkgs/branches/modular-python/; revision=26625
This commit is contained in:
parent
02b20395d5
commit
5b1ee7a0da
|
@ -24,6 +24,11 @@ stdenv.mkDerivation rec {
|
||||||
''
|
''
|
||||||
# extboot.bin isn't installed due to a bug in the Makefile.
|
# extboot.bin isn't installed due to a bug in the Makefile.
|
||||||
cp pc-bios/optionrom/extboot.bin $out/share/qemu/
|
cp pc-bios/optionrom/extboot.bin $out/share/qemu/
|
||||||
|
|
||||||
|
# Libvirt expects us to be called `qemu-kvm'. Otherwise it will
|
||||||
|
# set the domain type to "qemu" rather than "kvm", which can
|
||||||
|
# cause architecture selection to misbehave.
|
||||||
|
ln -s $(cd $out/bin && echo qemu-system-*) $out/bin/qemu-kvm
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue