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:
parent
c482b41f40
commit
66d204188b
@ -3,6 +3,7 @@
|
|||||||
, gobjectIntrospection, libvirt-glib, system-libvirt
|
, gobjectIntrospection, libvirt-glib, system-libvirt
|
||||||
, gsettings-desktop-schemas, glib, libosinfo, gnome3, gtk3
|
, gsettings-desktop-schemas, glib, libosinfo, gnome3, gtk3
|
||||||
, spiceSupport ? true, spice-gtk ? null
|
, spiceSupport ? true, spice-gtk ? null
|
||||||
|
, cpio, e2fsprogs, findutils, gzip
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -47,6 +48,8 @@ python2Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
|
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
|
||||||
|
# these are called from virt-install in initrdinject.py
|
||||||
|
gappsWrapperArgs+=(--prefix PATH : "${makeBinPath [ cpio e2fsprogs file findutils gzip ]}")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Failed tests
|
# Failed tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user