From 400ccc34e329fa340d1c6cd5eb55db37e5bc7ce5 Mon Sep 17 00:00:00 2001 From: Kostiantyn Kostiuk Date: Thu, 29 Feb 2024 19:21:24 +0200 Subject: [PATCH] tools: Make install driver arguments order same with rtoolsHCK Signed-off-by: Kostiantyn Kostiuk --- lib/engines/hcktest/tools.rb | 2 +- lib/setupmanagers/hckclient.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/engines/hcktest/tools.rb b/lib/engines/hcktest/tools.rb index 00c4b77f..34378311 100644 --- a/lib/engines/hcktest/tools.rb +++ b/lib/engines/hcktest/tools.rb @@ -323,7 +323,7 @@ def set_machine_ready(machine, pool) def install_machine_driver_package(machine, method, driver_path, file, options = {}) retries ||= 0 - ret = act_with_tools { _1.install_machine_driver_package(machine, driver_path, method, file, options) } + ret = act_with_tools { _1.install_machine_driver_package(machine, method, driver_path, file, options) } return ret if ret diff --git a/lib/setupmanagers/hckclient.rb b/lib/setupmanagers/hckclient.rb index 66f64a25..a3f13d39 100644 --- a/lib/setupmanagers/hckclient.rb +++ b/lib/setupmanagers/hckclient.rb @@ -108,7 +108,7 @@ def install_drivers inf = driver['inf'] @logger.info("Installing #{method} driver #{inf} in #{@name}") - @tools.install_machine_driver_package(@name, path, method, inf, + @tools.install_machine_driver_package(@name, method, path, inf, custom_cmd: driver['install_command'], sys_file: driver['sys'], force_install_cert: driver['install_cert'])