Skip to content

Commit 23ff9db

Browse files
dasharo-compatibility/acpi-driver.robot: add dkms reload
Signed-off-by: Wiktor Mowinski <wiktor.mowinski@3mdeb.com>
1 parent d0b6b30 commit 23ff9db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dasharo-compatibility/acpi-driver.robot

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ ACPI001.201 ACPI driver test (Ubuntu)
6565
END
6666
Detect Or Install Package dkms
6767
${out}= Execute Command In Terminal modprobe dasharo-acpi
68+
IF "modprobe: ERROR: could not insert 'dasharo_acpi'" in """${out}"""
69+
Log To Console Rebuilding dasharo-acpi DKMS module due to modprobe failure
70+
Execute Command In Terminal sudo dkms remove dasharo-acpi/0.9.1 --all
71+
Execute Command In Terminal sudo dkms build dasharo-acpi/0.9.1
72+
Execute Command In Terminal sudo dkms install dasharo-acpi/0.9.1
73+
${out}= Execute Command In Terminal modprobe dasharo-acpi
74+
END
6875
Should Be Empty ${out}
6976
Detect Or Install Package lm-sensors
7077
${out}= Execute Command In Terminal sensors

0 commit comments

Comments
 (0)