Marek Marczykowski-Górecki
ca659ef6df
Fix downloading dom0 updates on Debian
...
When yumdownloader is used, it needs yum.conf. In Qubes 4.1 it isn't
there anymore, so symlink dnf.conf instead.
In Debian case, packages are downloaded directly to packages directory,
doesn't need to be extracted from cache. Redirect error message to
/dev/null for that.
2019-08-07 00:04:47 +02:00
Marek Marczykowski-Górecki
40652b700b
dnf: clear updates-available flag when dnf update yields no updates
...
Fixes QubesOS/qubes-issues#2009
2019-08-03 04:10:47 +02:00
Marek Marczykowski-Górecki
69965213da
Merge remote-tracking branch 'origin/pr/173'
...
* origin/pr/173:
use tor+http for onion
2019-08-02 05:12:33 +02:00
Marek Marczykowski-Górecki
e3e1ed42b7
Merge remote-tracking branch 'origin/pr/172'
...
* origin/pr/172:
dom0-updates: Quote arguments
2019-08-02 05:12:26 +02:00
Marek Marczykowski-Górecki
c783673e7f
Merge remote-tracking branch 'origin/pr/170'
...
* origin/pr/170:
use long rather than short option names;
2019-08-02 02:43:41 +02:00
Marek Marczykowski-Górecki
c400f50eee
Merge remote-tracking branch 'origin/pr/167'
...
* origin/pr/167:
use long options rather than short options
2019-08-02 02:37:36 +02:00
Patrick Schleizer
a6a8bc6754
use tor+http for onion
2019-07-22 15:34:16 +00:00
M. Vefa Bicakci
8db8d0cb3c
dom0-updates: Quote arguments
...
This commit makes the qubes-download-dom0-updates.sh script quote its
arguments before using them to avoid expanding wildcards (such as '*')
unintendedly.
Fixes QubesOS/qubes-issues#5096
2019-07-20 06:55:52 -04:00
Patrick Schleizer
af28fc93d5
use long rather than short option names;
...
minor formatting
2019-07-14 08:32:37 +00:00
Patrick Schleizer
f1add4c506
use long options rather than short options
...
https://github.com/QubesOS/qubes-issues/issues/1130
2019-07-14 08:07:21 +00: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
d2c28d12a2
Remove dead code
2019-07-05 20:35:31 +02:00
Marek Marczykowski-Górecki
da3c22b4a6
version 4.1.2
2019-06-27 01:07:20 +02:00
Marek Marczykowski-Górecki
ba702a0fd6
Merge remote-tracking branch 'origin/pr/163'
...
* origin/pr/163:
init/functions: better not use ipcalc which is not present on minimal distro
Handle errors for non-present ip gateways
Better use '-z' and '-n' for readibility
init/functions: handle non-present /qubes-mac qubesdb and check if iface exists
configure_network: use classical function parsing
Handle legacy non-present /qubes-mac qubesdb entry
Refactor and handle new network qubesdb configuration
2019-06-25 04:27:06 +02:00
Marek Marczykowski-Górecki
91436a2887
Delay qubes-sync-time service after qrexec is started
...
The qubes-sync-time needs qrexec running to work, so set start order
appropriately.
2019-06-25 04:19:56 +02:00
Frédéric Pierret (fepitre)
3f5dc53d75
init/functions: better not use ipcalc which is not present on minimal distro
2019-06-23 09:59:37 +02:00
Frédéric Pierret (fepitre)
dba1020b4c
Handle errors for non-present ip gateways
2019-06-22 17:40:25 +02:00
Frédéric Pierret (fepitre)
cf03ae3e2a
Better use '-z' and '-n' for readibility
2019-06-20 16:32:08 +02:00
Frédéric Pierret (fepitre)
967060eb32
init/functions: handle non-present /qubes-mac qubesdb and check if iface exists
2019-06-20 16:09:24 +02:00
Frédéric Pierret (fepitre)
aa7ab25a78
configure_network: use classical function parsing
2019-06-19 21:10:00 +02:00
Frédéric Pierret (fepitre)
1c54101663
Handle legacy non-present /qubes-mac qubesdb entry
2019-06-19 19:21:38 +02:00
Frédéric Pierret (fepitre)
325eff2b13
Refactor and handle new network qubesdb configuration
2019-06-18 18:49:42 +02:00
Marek Marczykowski-Górecki
9ef52e4303
dom0-updates: fix cleaning downloaded packages
...
Since migration to dnf, remove dnf's cache too.
QubesOS/qubes-issues#4225
2019-06-17 19:54:44 +02:00
Frédéric Pierret (fepitre)
c476ae7cdb
qvm-console: handle non-default bash shell (Debian)
2019-06-16 00:37:59 +02:00
Marek Marczykowski-Górecki
3a1f0a7b1f
version 4.1.1
2019-06-09 18:35:55 +02:00
Marek Marczykowski-Górecki
b30e01632c
Merge branch 'r4.1-repos'
2019-06-09 17:11:49 +02:00
Marek Marczykowski-Górecki
152cec3e2d
version 4.1.0
2019-06-08 05:45:54 +02:00
Marek Marczykowski-Górecki
4cc9ae5a1d
rpm,deb: add Conflicts: qubes-gui-agent < 4.1.0
...
This version will not work with qubes-gui-agent not supporting -d
option.
QubesOS/qubes-issues#2619
2019-06-08 05:36:40 +02:00
Marek Marczykowski-Górecki
f3b8298081
Merge remote-tracking branch 'origin/pr/118'
...
* origin/pr/118:
Pass GUI domain id to GUI agent
2019-06-08 05:32:14 +02:00
Marek Marczykowski-Górecki
08a853b960
Merge branch 'remove-qrexec'
...
* remove-qrexec:
travis: update for R4.1
Remove qrexec-agent related files
2019-06-06 23:20:11 +02:00
Frédéric Pierret (fepitre)
e2a33e69e3
Handle empty ip and vif_type
2019-05-30 15:31:57 +02:00
Frédéric Pierret (fepitre)
73ed5e85fc
Handle network hooks located in /rw/config/network-hooks.d
...
Example:
/rw/config/network-hooks.d/test.sh
\#!/bin/bash
command="$1"
vif="$2"
ip="$3"
if [ "$ip" == '10.137.0.100' ]; then
case "$command" in
online)
ip route add 192.168.0.100 via 10.137.0.100
;;
offline)
ip route del 192.168.0.100
;;
esac
fi
2019-05-30 11:40:40 +02:00
Marek Marczykowski-Górecki
da33d87c23
Merge remote-tracking branch 'qubesos/pr/159'
...
* qubesos/pr/159:
setup-ip: handle default conf if /qubes-mac returns empty value
setup-ip: only assign IP configuration of Qubes managed iface
Handle default value for get_iface_from_mac
Handle default value for get_qubes_managed_iface
Make ShellCheck happy
Handle non-default 'eth0' Qubes managed interface
2019-05-25 22:46:28 +02:00
Frédéric Pierret (fepitre)
27fddadc22
setup-ip: handle default conf if /qubes-mac returns empty value
2019-05-21 17:32:09 +02:00
Frédéric Pierret (fepitre)
f7dd41206d
setup-ip: only assign IP configuration of Qubes managed iface
2019-05-21 17:21:51 +02:00
Frédéric Pierret (fepitre)
902da9f837
Handle default value for get_iface_from_mac
2019-05-21 17:21:51 +02:00
Frédéric Pierret (fepitre)
da162d7615
Handle default value for get_qubes_managed_iface
2019-05-21 17:21:51 +02:00
Frédéric Pierret (fepitre)
b18efe3257
Make ShellCheck happy
2019-05-21 17:21:51 +02:00
Frédéric Pierret (fepitre)
0ce79d4895
Handle non-default 'eth0' Qubes managed interface
2019-05-16 17:32:50 +02:00
Frédéric Pierret (fepitre)
0c3421cfa8
qubes.ShowInTerminal: simply exit if mktemp generate " character
2019-05-11 11:54:24 +02:00
Frédéric Pierret (fepitre)
2b2752f936
Rename and fix from Marek's comments
2019-05-07 15:01:34 +02:00
Frédéric Pierret (fepitre)
4324dc1564
Add admin.vm.TerminalDispVM qubes-rpc
2019-05-05 17:59:44 +02:00
Frédéric Pierret (fepitre)
3dddff532c
qvm-terminal: use usual '^]' as escape character
2019-05-05 14:51:18 +02:00
Frédéric Pierret (fepitre)
71989cf72d
Rename qvm-showterminal to qvm-terminal and add print_usage
2019-04-30 17:23:25 +02:00
Frédéric Pierret (fepitre)
95e2d11e61
Add qvm-showterminal
2019-04-30 11:42:38 +02:00
Marek Marczykowski-Górecki
280d389d0e
travis: switch to R4.1
2019-04-22 00:32:01 +02:00
Marek Marczykowski-Górecki
4bb7bd9cdd
Update repositories to R4.1
2019-04-22 00:31:28 +02:00
Marek Marczykowski-Górecki
0aae0c189c
Merge remote-tracking branch 'qubesos/pr/157'
...
* qubesos/pr/157:
qubes-updates-proxy: make ShellCheck happy
Use exec to ease systemd handling the tinyproxy process
Handle tinyproxy path changed in upstream
2019-04-19 04:27:00 +02:00
Marek Marczykowski-Górecki
63d5640146
Merge remote-tracking branch 'qubesos/pr/156'
...
* qubesos/pr/156:
Disable useless Xen services in Qubes VM since we use upstream package
2019-04-19 04:25:36 +02:00
Frédéric Pierret (fepitre)
46c2b9789d
qubes-updates-proxy: make ShellCheck happy
2019-04-17 13:33:04 +02:00