diff --git a/qubes/tests/integ/grub.py b/qubes/tests/integ/grub.py index 9acde4060..34406cf01 100644 --- a/qubes/tests/integ/grub.py +++ b/qubes/tests/integ/grub.py @@ -46,6 +46,11 @@ def setUp(self): ) def install_packages(self, vm): + if os.environ.get("QUBES_TEST_SKIP_KERNEL_INSTALL") == "1": + return + else: + print("Installing kernel packages, you can skip by setting " + "QUBES_TEST_SKIP_KERNEL_INSTALL=1 in environment") if self.template.startswith("fedora-"): cmd_install1 = ( "dnf clean expire-cache && "