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

2 views
Skip to first unread message

Felix Moessbauer

unread,
Jun 1, 2026, 3:40:26 AM (2 days ago) Jun 1
to isar-...@googlegroups.com, Felix Moessbauer
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.mo...@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(-)

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(':')
--
2.53.0

Reply all
Reply to author
Forward
0 new messages