[1/1] citest: speedup dracut_in_image by avoiding useless deps

Message ID 20260601074007.1014550-1-felix.moessbauer@siemens.com
State Under Review
Headers show
Series [1/1] citest: speedup dracut_in_image by avoiding useless deps | expand

Commit Message

Felix Moessbauer June 1, 2026, 7:40 a.m. UTC
To test if the dracut initrd builds and runs we don't need to build all
default packages (like hello). By avoiding this, we cut the test time of
this job by more than half.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
Note, that there is a lot of room for improvement by simply removing
the default packages from tasks that test specific features.

Best regards,
Felix

 testsuite/citest.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Patch

diff --git a/testsuite/citest.py b/testsuite/citest.py
index 94b916ea..250c01c6 100644
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -530,7 +530,10 @@  class InitRdBaseTest(CIBaseTest):
         distro = 'bookworm'
         image = 'isar-image-ci'
         self.init()
-        self.perform_build_test(targets, lines=InitRdBaseTest.DRACUT_CONF)
+        self.perform_build_test(
+            targets,
+            image_install='',
+            lines=InitRdBaseTest.DRACUT_CONF)
 
         for target in targets:
             config = target.split(':')