Commit 6e4949b8 authored by Harald Sitter's avatar Harald Sitter

assert evdev in more locations

- livetest assertion makes sure we fail early if the ISO isn't using evdev
- first_start asserts again after installation to make sure the evdev
  default properly applied from the ISO onto the system
parent 1de40616
......@@ -229,6 +229,13 @@ sub boot {
assert_script_run 'wget ' . data_url('setup_journald_ttyS1.rb'), 16;
assert_script_sudo 'ruby setup_journald_ttyS1.rb', 60 * 5;
# Make sure the evdev driver is installed. We prefer evdev at this time
# instead of libinput since our KCMs aren't particularly awesome for
# libinput.
assert_script_run 'dpkg -s xserver-xorg-input-evdev';
validate_script_output 'grep -e "Using input driver" /var/log/Xorg.0.log',
sub { m/.+evdev.+/ };
# TODO: maybe control via env var?
# assert_script_run 'wget ' . data_url('enable_qdebug.rb'), 16;
# assert_script_run 'ruby enable_qdebug.rb', 16;
......
......@@ -44,6 +44,13 @@ sub run {
assert_script_run 'wget ' . data_url('early_first_start.rb'), 16;
assert_script_sudo 'ruby early_first_start.rb', 60 * 5;
# Make sure the evdev driver is installed. We prefer evdev at this time
# instead of libinput since our KCMs aren't particularly awesome for
# libinput.
assert_script_run 'dpkg -s xserver-xorg-input-evdev';
validate_script_output 'grep -e "Using input driver" /var/log/Xorg.0.log',
sub { m/.+evdev.+/ };
# Assert that we have no preinstalled pool lingering around on the installed
# rootfs. preinstalled-pool comes from our livecd-rootfs-neon fork and
# contains bootloaders for offline install. This should be removed before
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment