The Underscores Revolution: adjust qrexec path
This commit is contained in:
parent
30ca124784
commit
09050236bc
@ -95,7 +95,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if ls $DOM0_UPDATES_DIR/packages/*.rpm > /dev/null 2>&1; then
|
if ls $DOM0_UPDATES_DIR/packages/*.rpm > /dev/null 2>&1; then
|
||||||
/usr/lib/qubes/qrexec_client_vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent $DOM0_UPDATES_DIR/packages/*.rpm
|
/usr/lib/qubes/qrexec-client-vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent $DOM0_UPDATES_DIR/packages/*.rpm
|
||||||
else
|
else
|
||||||
echo "No packages downloaded"
|
echo "No packages downloaded"
|
||||||
fi
|
fi
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
UPDATEABLE=`/usr/bin/xenstore-read qubes-vm-updateable`
|
UPDATEABLE=`/usr/bin/xenstore-read qubes-vm-updateable`
|
||||||
|
|
||||||
if [ "$UPDATEABLE" = "True" ]; then
|
if [ "$UPDATEABLE" = "True" ]; then
|
||||||
/usr/lib/qubes/qrexec_client_vm dom0 qubes.SyncAppMenus /bin/sh /etc/qubes-rpc/qubes.GetAppmenus
|
/usr/lib/qubes/qrexec-client-vm dom0 qubes.SyncAppMenus /bin/sh /etc/qubes-rpc/qubes.GetAppmenus
|
||||||
fi
|
fi
|
||||||
|
@ -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', '/bin/echo', str(len(filtered_updates))])
|
subprocess.call(['/usr/lib/qubes/qrexec-client-vm', 'dom0', 'qubes.NotifyUpdates', '/bin/echo', str(len(filtered_updates))])
|
||||||
|
@ -40,4 +40,4 @@ if [ $PROGRESS_TYPE = console ] ; then
|
|||||||
export FILECOPY_TOTAL_SIZE=$(du --apparent-size -c "$@" | tail -1 | cut -f 1)
|
export FILECOPY_TOTAL_SIZE=$(du --apparent-size -c "$@" | tail -1 | cut -f 1)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec /usr/lib/qubes/qrexec_client_vm $VM qubes.Filecopy /usr/lib/qubes/qfile-agent "$@"
|
exec /usr/lib/qubes/qrexec-client-vm $VM qubes.Filecopy /usr/lib/qubes/qfile-agent "$@"
|
||||||
|
@ -27,7 +27,7 @@ SIZE=$(du --apparent-size -c "$@" | tail -1 | cut -f 1)
|
|||||||
|
|
||||||
export PROGRESS_TYPE=gui
|
export PROGRESS_TYPE=gui
|
||||||
|
|
||||||
/usr/lib/qubes/qrexec_client_vm $VM qubes.Filecopy /usr/lib/qubes/qfile-agent "$@" |
|
/usr/lib/qubes/qrexec-client-vm $VM qubes.Filecopy /usr/lib/qubes/qfile-agent "$@" |
|
||||||
(while read sentsize ; do
|
(while read sentsize ; do
|
||||||
CURRSIZE=$(($sentsize/1024))
|
CURRSIZE=$(($sentsize/1024))
|
||||||
echo $((100*$CURRSIZE/$SIZE))
|
echo $((100*$CURRSIZE/$SIZE))
|
||||||
|
@ -29,7 +29,7 @@ qdbus $REF org.freedesktop.DBus.Properties.Set "" maximum $SIZE
|
|||||||
|
|
||||||
export PROGRESS_TYPE=gui
|
export PROGRESS_TYPE=gui
|
||||||
|
|
||||||
/usr/lib/qubes/qrexec_client_vm $VM qubes.Filecopy \
|
/usr/lib/qubes/qrexec-client-vm $VM qubes.Filecopy \
|
||||||
/usr/lib/qubes/qfile-agent "$@" |
|
/usr/lib/qubes/qfile-agent "$@" |
|
||||||
(while read sentsize ; do
|
(while read sentsize ; do
|
||||||
CURRSIZE=$(($sentsize/1024))
|
CURRSIZE=$(($sentsize/1024))
|
||||||
|
@ -28,4 +28,4 @@ fi
|
|||||||
. /usr/lib/qubes/wrap-in-html-if-url.sh
|
. /usr/lib/qubes/wrap-in-html-if-url.sh
|
||||||
wrap_in_html_if_url "$1"
|
wrap_in_html_if_url "$1"
|
||||||
|
|
||||||
exec /usr/lib/qubes/qrexec_client_vm '$dispvm' qubes.OpenInVM "/usr/lib/qubes/qopen-in-vm" "$FILE_ARGUMENT"
|
exec /usr/lib/qubes/qrexec-client-vm '$dispvm' qubes.OpenInVM "/usr/lib/qubes/qopen-in-vm" "$FILE_ARGUMENT"
|
||||||
|
@ -26,4 +26,4 @@ if ! [ $# = 2 ] ; then
|
|||||||
fi
|
fi
|
||||||
. /usr/lib/qubes/wrap_in_html_if_url.sh
|
. /usr/lib/qubes/wrap_in_html_if_url.sh
|
||||||
wrap_in_html_if_url "$2"
|
wrap_in_html_if_url "$2"
|
||||||
exec /usr/lib/qubes/qrexec_client_vm "$1" qubes.OpenInVM "/usr/lib/qubes/qopen-in-vm" "$FILE_ARGUMENT"
|
exec /usr/lib/qubes/qrexec-client-vm "$1" qubes.OpenInVM "/usr/lib/qubes/qopen-in-vm" "$FILE_ARGUMENT"
|
||||||
|
@ -29,4 +29,4 @@ shift
|
|||||||
if [ $VMNAME = "--dispvm" ] ; then
|
if [ $VMNAME = "--dispvm" ] ; then
|
||||||
VMNAME='$dispvm'
|
VMNAME='$dispvm'
|
||||||
fi
|
fi
|
||||||
exec /usr/lib/qubes/qrexec_client_vm $VMNAME qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@"
|
exec /usr/lib/qubes/qrexec-client-vm $VMNAME qubes.VMShell "/usr/lib/qubes/qrun-in-vm" "$@"
|
||||||
|
@ -4,4 +4,4 @@ ConditionPathExists=/var/run/qubes-service/qubes-update-check
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/lib/qubes/qrexec_client_vm dom0 qubes.NotifyUpdates /bin/sh -c 'yum -q check-update >/dev/null; [ $? -eq 100 ] && echo 1 || echo 0'
|
ExecStart=/usr/lib/qubes/qrexec-client-vm dom0 qubes.NotifyUpdates /bin/sh -c 'yum -q check-update >/dev/null; [ $? -eq 100 ] && echo 1 || echo 0'
|
||||||
|
Loading…
Reference in New Issue
Block a user