Ludovic Bellier
bba78d224b
fix for ArchLinux: notify dom0 about installed updates
...
The launch of the qubes-update-check service failed on ArchLinux,
because the qubes-rpc uses the `service` command which isn't available
for this OS.
2020-12-01 22:10:11 +01:00
Marek Marczykowski-Górecki
ec32be73ed
Specify expected shell in su calls
...
When calling su with a specific script, specify /bin/sh shell to be sure
to use posix compliant shell. User shell may not be a one (like fish).
Fixes QubesOS/qubes-issues#5135
2019-07-05 20:38:04 +02:00
Marek Marczykowski-Górecki
9c839d789f
qubes-rpc: fix issues found by shellcheck
...
Most of them are missing quotes, `` -> $(), and -o/-a usage in
conditions. Also add few directives disabling checks where were too
verbose.
2017-09-30 04:45:31 +02:00
Lorenzo
f4af5f320a
Shut down after update only if it's a template.
...
As per discussion in
https://github.com/QubesOS/qubes-issues/issues/2555#issuecomment-271415169
Signed-off-by: Lorenzo <lorenzo.grespan@gmail.com>
2017-01-14 22:20:51 +00:00
Marek Marczykowski-Górecki
3050852cbb
Prefer powerpill to update Archlinux VM
...
This is the recommended way to connect through update proxy.
2016-11-12 22:30:37 +01:00
Marek Marczykowski-Górecki
6ba1d2ff78
Ask to shutdown the template after performing update
...
Fixes QubesOS/qubes-issues#2431
2016-11-12 22:27:20 +01:00
Marek Marczykowski-Górecki
7fa4115aba
Refactor qubes.InstallUpdatesGUI to reduce code duplication
...
QubesOS/qubes-issues#2431
2016-11-12 22:21:42 +01:00
Marek Marczykowski-Górecki
520894e623
Prefer 'dnf' over 'yum' for template update
...
QubesOS/qubes-issues#1282
2016-06-01 05:10:40 +02:00
Olivier MEDOC
b06c29c6dc
update qubes.InstallUpdateGUI to support archlinux
2016-01-16 11:52:49 +01:00
Marek Marczykowski-Górecki
f0de6c5b16
Implement qubes.InstallUpdatesGUI qrexec service
...
It should be up to the VM what GUI tool is used for installing updates.
For now stick with console tools in xterm...
Fixes QubesOS/qubes-issues#1249
2015-11-13 05:32:44 +01:00