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 64a9c54ba6
commit 975c0a0bc7

View File

@ -39,4 +39,4 @@ def posttrans_hook(conduit):
filtered_updates = filter(lambda x: x not in all, pkg_list.updates) filtered_updates = filter(lambda x: x not in all, pkg_list.updates)
# Notify dom0 about left updates count # 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))])