Browse Source

tests: update for not needing custom kernel modules anymore

kernel-devel package isn't needed in VMs anymore.
Marek Marczykowski-Górecki 4 years ago
parent
commit
05e48748d2
1 changed files with 1 additions and 5 deletions
  1. 1 5
      qubes/tests/integ/grub.py

+ 1 - 5
qubes/tests/integ/grub.py

@@ -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 ' \