tests: PV Grub: ensure that latest packages are installed
Flush yum case before that.
This commit is contained in:
parent
64343572c1
commit
aeec42dacf
@ -1070,7 +1070,8 @@ class TC_40_PVGrub(qubes.tests.SystemTestsMixin):
|
|||||||
|
|
||||||
def install_packages(self, vm):
|
def install_packages(self, vm):
|
||||||
if self.template.startswith('fedora-'):
|
if self.template.startswith('fedora-'):
|
||||||
cmd_install1 = 'yum install -y qubes-kernel-vm-support grub2-tools'
|
cmd_install1 = 'yum clean expire-cache && ' \
|
||||||
|
'yum install -y qubes-kernel-vm-support grub2-tools'
|
||||||
cmd_install2 = 'yum install -y kernel kernel-devel'
|
cmd_install2 = 'yum install -y kernel kernel-devel'
|
||||||
cmd_update_grub = 'grub2-mkconfig -o /boot/grub2/grub.cfg'
|
cmd_update_grub = 'grub2-mkconfig -o /boot/grub2/grub.cfg'
|
||||||
elif self.template.startswith('debian-'):
|
elif self.template.startswith('debian-'):
|
||||||
|
Loading…
Reference in New Issue
Block a user