Commit Graph

347 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
0255f4d843
tests: skip img converter test if qubes-img-converter is not installed 2018-10-16 22:13:46 +02:00
Marek Marczykowski-Górecki
e2d7f08d42
version 4.0.21 2018-10-09 00:25:11 +02:00
Marek Marczykowski-Górecki
76fa9c9d9f
travis: update Fedora and Debian versions 2018-10-08 23:29:10 +02:00
Marek Marczykowski-Górecki
3ca9f130b7
rpm: adjust for fc29
Don't rely on python -> python2 symlink and default %{python_*} macros.
Add explicit BR: gcc (default build env for fc29 doesn't have it
anymore).

QubesOS/qubes-issues#4223
2018-10-02 20:53:08 +02:00
Rusty Bird
6cd4a1b888
Order qubes-meminfo-writer-dom0 before systemd-user-sessions
qubes-vm@.service would already cause this ordering, but not every user
has any autostart=True VMs.

Also needed to maybe f*x QubesOS/qubes-issues#3149 at some point.
2018-09-06 16:23:12 +00:00
Marek Marczykowski-Górecki
ab7ca7be89
version 4.0.20 2018-07-03 21:11:00 +02:00
Marek Marczykowski-Górecki
f7b8a79ce6
udev: create /dev/mapper/dmroot -> xvda3 symlink when its mounted directly
When root device is available read-write (TemplateVM/StandaloneVM), its
mounted directly, instead of using device-mapper layer. But
/dev/mapper/dmroot still needs to exists (it is pointed from
/etc/fstab), otherwise various tools, including grub-mkconfig get
confused.
Create a symlink using udev rule. It is already done in initramfs, and
in case of Fedora that udev rule/symlink survive switching to
non-initramfs udev, but not on Debian. So, add appropriate udev rules
file.

Fixes QubesOS/qubes-issues#3178
2018-06-13 15:48:00 +02:00
Marek Marczykowski-Górecki
915c8f0cf7
version 4.0.19 2018-05-02 17:55:10 +02:00
Marek Marczykowski-Górecki
645d23b712
travis: add centos7 2018-05-01 16:07:51 +02:00
Marek Marczykowski-Górecki
89776c7f18
rpm: use proper macros for systemd handling 2018-05-01 16:07:16 +02:00
Marek Marczykowski-Górecki
4157f919b6
version 4.0.18 2018-04-21 14:36:39 +02:00
Marek Marczykowski-Górecki
cf6438807b
travis: update Fedora versions 2018-04-21 14:22:01 +02:00
Marek Marczykowski-Górecki
0df0d23ec6
Merge remote-tracking branch 'qubesos/pr/34'
* qubesos/pr/34:
  spec.in: add changelog placeholder
  Fix debug symbols
  Remove _builddir
  Makefile.builder: currently disable Mock
  rpm: preparation for src.rpm building
2018-04-21 01:22:35 +02:00
Marek Marczykowski-Górecki
9eafc65cb4
udev: don't call udev-block-add-change for devices excluded by other rules
The script call is quite expensive (it does multiple things, including
checking device-mapper, qubesdb etc). Don't call it for devices we (or
else) already excluded earlier.
This is the most relevant for dom0, where udev "change" event is
triggered quite often, for multiple LVM volumes - all excluded, because
being VM's disks.
2018-04-20 16:47:46 +02:00
Frédéric Pierret
f049d63571
spec.in: add changelog placeholder 2018-04-07 17:56:20 -04:00
Frédéric Pierret
2b3b684107
Fix debug symbols 2018-04-07 17:56:20 -04:00
Frédéric Pierret
a716102a08
Remove _builddir 2018-04-07 17:56:20 -04:00
Frédéric Pierret
0630c17588
Makefile.builder: currently disable Mock 2018-04-07 17:56:20 -04:00
Marek Marczykowski-Górecki
84c9ae4bf1
rpm: preparation for src.rpm building
QubesOS/qubes-issues#1508
2018-04-03 22:13:47 +02:00
Marek Marczykowski-Górecki
610e7d8f3e
version 4.0.17 2018-02-27 15:17:12 +01:00
Marek Marczykowski-Górecki
258b7926ef
Merge remote-tracking branch 'qubesos/pr/33'
* qubesos/pr/33:
  drop busybox dependance
  centos: fix python packages names
  Remove busybox as it is not provided in RHEL7 anymore
  Fix python3 package names with respect to CentOS for consistency with python34 names
2018-02-25 21:15:46 +01:00
Frédéric Pierret
d60964ee23
drop busybox dependance 2018-02-22 18:32:59 +01:00
Frédéric Pierret
2f511d4881
centos: fix python packages names 2018-02-22 18:32:54 +01:00
Frédéric Pierret
e3179e066c
Remove busybox as it is not provided in RHEL7 anymore 2018-02-22 18:02:24 +01:00
Frédéric Pierret
d1ce12f610
Fix python3 package names with respect to CentOS for consistency with python34 names 2018-02-21 20:20:41 +01:00
Marek Marczykowski-Górecki
ff36d11c19
version 4.0.16 2018-02-20 00:05:31 +01:00
Marek Marczykowski-Górecki
d623a3e7d3
debian: adjust required version after adding new function 2018-02-20 00:01:46 +01:00
Marek Marczykowski-Górecki
50412a8a8f
qrexec: provide common function for handling service call
Reduce code duplication by moving parsing of "QUBESRPC" magic command to
one place.
Call qubes-rpc-multiplexer directly with execve(), to avoid string
expansions in its parameters.
2018-02-16 04:20:31 +01:00
Marek Marczykowski-Górecki
ff2e2dbc22
version 4.0.15 2018-01-18 19:07:40 +01:00
Marek Marczykowski-Górecki
e37f9da355
udev: update detecting usbip-connected devices
Controller sysfs path have changed in recent kernels ('vhci_hcd' ->
'vhci_hcd.0'), look for vhci_hcd prefix, not exact this name.

QubesOS/qubes-issues#3455
2018-01-17 16:12:24 +01:00
Marek Marczykowski-Górecki
6eab71f678
version 4.0.14 2018-01-12 06:16:06 +01:00
Marek Marczykowski-Górecki
ab2fa766b9
Merge remote-tracking branch 'qubesos/pr/31'
* qubesos/pr/31:
  udev-block-add-change: ignore unconnected Network Block Device
2018-01-05 17:43:25 +01:00
Rusty Bird
6b3830ba31
udev-block-add-change: ignore unconnected Network Block Device
"modprobe nbd" shouldn't instantly send 16 zero byte nbd devices to
dom0.
2017-12-30 21:27:28 +00:00
Reynir Björnsson
f4ec550291
Remove duplicate #define
`MAX_DATA_CHUNK` was defined twice in qrexec.h with the same value.
2017-12-30 15:54:07 +01:00
Marek Marczykowski-Górecki
929e03bcba
version 4.0.13 2017-12-23 02:50:20 +01:00
Marek Marczykowski-Górecki
f42951578a
travis: run only unit tests 2017-12-22 17:47:53 +01:00
Marek Marczykowski-Górecki
2b1f8931a6
tests: integration tests for qvm-convert-img
Actual tool is in separate repository, but the backend module is here.
Also, other tests for imgconverter are already here.

QubesOS/qubes-issues#3085
2017-12-22 16:47:06 +01:00
Marek Marczykowski-Górecki
34e3c3acf3
imgconverter: fix handling explicit file type
Fix handling source filename as 'type:path' - get parts, not try to
extract only the first one.

Related QubesOS/qubes-issues#3085
2017-12-22 03:49:44 +01:00
Marek Marczykowski-Górecki
c57f28d8f7
Merge remote-tracking branch 'qubesos/pr/29'
* qubesos/pr/29:
  Fix qrexec-lib headers
2017-12-22 01:20:52 +01:00
Marek Marczykowski-Górecki
1a77802b20
travis: enable deploy stage for master-staging -> master gate 2017-12-21 20:58:24 +01:00
Marek Marczykowski-Górecki
691f4e52f4
travis: run tests also on python3 2017-12-21 20:12:16 +01:00
Marek Marczykowski-Górecki
20be8e2417
Make tests python3 compatible 2017-12-21 20:11:11 +01:00
Marek Marczykowski-Górecki
3899ca1e5d
travis: run imgconverter unit tests 2017-12-21 19:57:41 +01:00
Marek Marczykowski-Górecki
2ac5c03bb3
Update tests 2017-12-21 19:44:46 +01:00
Marek Marczykowski-Górecki
3e41a2987c
imgconverter: fix make_padlock function
hex_to_float is gone, use hex_to_int instead

Fixes QubesOS/qubes-issues#3331
2017-12-21 19:12:55 +01:00
Gianluca Guida
5fbd19e1d6
Fix qrexec-lib headers 2017-12-15 20:20:15 +01:00
Marek Marczykowski-Górecki
72343fe0cd
version 4.0.12 2017-12-12 01:41:53 +01:00
Marek Marczykowski-Górecki
ee66bb4c80
Merge remote-tracking branch 'qubesos/pr/27'
* qubesos/pr/27:
  qubes-kernel-vm-support compatibility with dracut
2017-12-01 00:12:17 +01:00
Marek Marczykowski-Górecki
dc5d025247
debian: include drauct module in qubes-kernel-vm-support
Support dracut also on Debian systems.

Fixes QubesOS/qubes-issues#3361
2017-12-01 00:11:28 +01:00
Marek Marczykowski-Górecki
3d44d3a80b
debian: make it easier to spot missing files in debian/*.install 2017-12-01 00:02:46 +01:00