virtmanager: add missing virt-install runtime deps (#40380)

virt-install calls some programs from initrdinject.py
that were missing on PATH
This commit is contained in:
xeji 2018-05-13 19:58:10 +02:00 committed by GitHub
parent c482b41f40
commit 66d204188b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
, gobjectIntrospection, libvirt-glib, system-libvirt
, gsettings-desktop-schemas, glib, libosinfo, gnome3, gtk3
, spiceSupport ? true, spice-gtk ? null
, cpio, e2fsprogs, findutils, gzip
}:
with stdenv.lib;
@ -47,6 +48,8 @@ python2Packages.buildPythonApplication rec {
preFixup = ''
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
# these are called from virt-install in initrdinject.py
gappsWrapperArgs+=(--prefix PATH : "${makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
'';
# Failed tests