[Buildroot] [git commit] support/testing/tests/init/test_systemd.py: use downloaded kernel

Yann E. MORIN yann.morin.1998 at free.fr
Wed Jul 27 16:30:11 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=86d32208b62ab42ae43f1f4cc36d5840036841ec
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Since systemd requires a relatively new kernel, we switched to a
self-built 4.19.204 kernel. However, since then, the downloaded kernel
used by the tests has been updated to 5.10, which is certainly recent
enough to support systemd. Switch to this one. This reduces the test
time significantly.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 support/testing/tests/init/test_systemd.py | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/support/testing/tests/init/test_systemd.py b/support/testing/tests/init/test_systemd.py
index 80c6776f59..be28209ba0 100644
--- a/support/testing/tests/init/test_systemd.py
+++ b/support/testing/tests/init/test_systemd.py
@@ -11,18 +11,11 @@ class InitSystemSystemdBase(InitSystemBase):
         BR2_TOOLCHAIN_EXTERNAL=y
         BR2_INIT_SYSTEMD=y
         BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
-        BR2_LINUX_KERNEL=y
-        BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-        BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
-        BR2_LINUX_KERNEL_DEFCONFIG="vexpress"
-        BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}"
-        BR2_LINUX_KERNEL_DTS_SUPPORT=y
-        BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9"
         # BR2_TARGET_ROOTFS_TAR is not set
-        """.format(infra.filepath("conf/binfmt-misc-kernel-fragment.config"))
+        """
 
     def check_systemd(self, fs):
-        self.start_emulator(fs, "zImage", "vexpress-v2p-ca9")
+        self.start_emulator(fs)
         self.check_init("/lib/systemd/systemd")
 
         # Test all units are OK



More information about the buildroot mailing list