libvirt: fix running EFI VM images on aarch64-darwin
This commit is contained in:
parent
c93efc89ea
commit
30260eac70
@ -59,6 +59,7 @@
|
|||||||
# Darwin
|
# Darwin
|
||||||
, gmp
|
, gmp
|
||||||
, libiconv
|
, libiconv
|
||||||
|
, qemu
|
||||||
, Carbon
|
, Carbon
|
||||||
, AppKit
|
, AppKit
|
||||||
|
|
||||||
@ -154,6 +155,9 @@ stdenv.mkDerivation rec {
|
|||||||
'' + optionalString isDarwin ''
|
'' + optionalString isDarwin ''
|
||||||
sed -i '/qemucapabilitiestest/d' tests/meson.build
|
sed -i '/qemucapabilitiestest/d' tests/meson.build
|
||||||
sed -i '/vircryptotest/d' tests/meson.build
|
sed -i '/vircryptotest/d' tests/meson.build
|
||||||
|
sed -i '/domaincapstest/d' tests/meson.build
|
||||||
|
sed -i '/qemufirmwaretest/d' tests/meson.build
|
||||||
|
sed -i '/qemuvhostusertest/d' tests/meson.build
|
||||||
'' + optionalString (isDarwin && isx86_64) ''
|
'' + optionalString (isDarwin && isx86_64) ''
|
||||||
sed -i '/qemucaps2xmltest/d' tests/meson.build
|
sed -i '/qemucaps2xmltest/d' tests/meson.build
|
||||||
sed -i '/qemuhotplugtest/d' tests/meson.build
|
sed -i '/qemuhotplugtest/d' tests/meson.build
|
||||||
@ -267,6 +271,7 @@ stdenv.mkDerivation rec {
|
|||||||
(cfg "runstatedir" "/run")
|
(cfg "runstatedir" "/run")
|
||||||
|
|
||||||
(cfg "init_script" (if isDarwin then "none" else "systemd"))
|
(cfg "init_script" (if isDarwin then "none" else "systemd"))
|
||||||
|
(cfg "qemu_datadir" (if isDarwin then "${qemu}/share/qemu" else ""))
|
||||||
|
|
||||||
(feat "apparmor" isLinux)
|
(feat "apparmor" isLinux)
|
||||||
(feat "attr" isLinux)
|
(feat "attr" isLinux)
|
||||||
|
Loading…
Reference in New Issue
Block a user