summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-04-24 08:53:18 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-08 05:08:56 +0200
commit75571d3b82bc9c9adcf52d082834f79a376107e9 (patch)
treebb1378470df1fb479fa9eb010e07d10dc14f0bb7
parent5c1310d4774da3846289b0dd6467a4b53e9103c8 (diff)
downloaddrakx-75571d3b82bc9c9adcf52d082834f79a376107e9.tar
drakx-75571d3b82bc9c9adcf52d082834f79a376107e9.tar.gz
drakx-75571d3b82bc9c9adcf52d082834f79a376107e9.tar.bz2
drakx-75571d3b82bc9c9adcf52d082834f79a376107e9.tar.xz
drakx-75571d3b82bc9c9adcf52d082834f79a376107e9.zip
libvirt integration: start spice-vdagent{d,}
Aka Qemu guest agent (needs virtio-console) Thus we got keyboard integration on tty w/o having first to click Note: since we do not use systemd-logind, spice-vdagentd must be started with the '-X' option
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/install/share/list.xml2
-rw-r--r--perl-install/install/steps_gtk.pm5
3 files changed, 9 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 0223a6436..d20e95675 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,6 +1,8 @@
- include pvs/vgs/lvs symlinks
- partionning:
o display a wait message when adding a PV to VG
+- libvirt integration:
+ o start spice-vdagent{d,} (Qemu guest agent)
Version 17.49 - 6 July 2016
diff --git a/perl-install/install/share/list.xml b/perl-install/install/share/list.xml
index dbc765467..d34d4fc7a 100644
--- a/perl-install/install/share/list.xml
+++ b/perl-install/install/share/list.xml
@@ -9,6 +9,7 @@
losetup
lvm2 lvm lvs pvs vgs mdadm mdmon
mount mount.nfs umount
+ spice-vdagent spice-vdagentd
systemd-detect-virt
xz
@@ -80,6 +81,7 @@
63-md-raid-arrays.rules
64-md-raid-assembly.rules
65-libwacom.rules
+ 70-spice-vdagentd.rules
75-net-description.rules
80-drivers.rules
80-libinput-device-groups.rules
diff --git a/perl-install/install/steps_gtk.pm b/perl-install/install/steps_gtk.pm
index d1672c742..455afc34a 100644
--- a/perl-install/install/steps_gtk.pm
+++ b/perl-install/install/steps_gtk.pm
@@ -45,6 +45,11 @@ sub new($$) {
modules::load('xpad');
run_program::run('xset', 'm', '1/8', '1');
}
+ if (detect_devices::is_qemu()) {
+ mkdir_p('/var/run/spice-vdagentd');
+ run_program::raw({ detach => 1 }, 'spice-vdagentd', '-X', '>', '/dev/null', '2>', '/dev/null');
+ run_program::raw({ detach => 1 }, 'spice-vdagent', '>', '/dev/null', '2>', '/dev/null');
+ }
any::disable_x_screensaver();
run_program::raw({ detach => 1 }, 'mutter');
install::gtk::init_gtk($o);