tests: update for not needing custom kernel modules anymore

kernel-devel package isn't needed in VMs anymore.
This commit is contained in:
Marek Marczykowski-Górecki 2019-09-10 03:33:42 +02:00
parent 7a32b06171
commit 05e48748d2
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -47,11 +47,7 @@ class GrubBase(object):
if self.template.startswith('fedora-'):
cmd_install1 = 'dnf clean expire-cache && ' \
'dnf install -y qubes-kernel-vm-support grub2-tools'
cmd_install2 = 'dnf install -y kernel-core && ' \
'KVER=$(rpm -q --qf ' \
'\'%{VERSION}-%{RELEASE}.%{ARCH}\\n\' kernel-core|head -1) && ' \
'dnf install --allowerasing -y kernel-devel-$KVER && ' \
'dkms autoinstall -k $KVER'
cmd_install2 = 'dnf install -y kernel-core'
cmd_update_grub = 'grub2-mkconfig -o /boot/grub2/grub.cfg'
elif self.template.startswith('debian-'):
cmd_install1 = 'apt-get update && apt-get install -y ' \