vm: fix yum-qubes-hooks

Program must be given as full path to qrexec_client_vm - it is passed directly
to execv.
This commit is contained in:
Marek Marczykowski 2012-06-08 04:36:33 +02:00
parent b4561e4453
commit 27664a74f1

View File

@ -39,4 +39,4 @@ def posttrans_hook(conduit):
filtered_updates = filter(lambda x: x not in all, pkg_list.updates)
# Notify dom0 about left updates count
subprocess.call(['/usr/lib/qubes/qrexec_client_vm', 'dom0', 'qubes.NotifyUpdates', 'echo', str(len(filtered_updates))])
subprocess.call(['/usr/lib/qubes/qrexec_client_vm', 'dom0', 'qubes.NotifyUpdates', '/bin/echo', str(len(filtered_updates))])