]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(KERNEL-INSTALL): remove checking for systemd version 255 or later
authorJo Zzsi <jozzsicsataban@gmail.com>
Mon, 22 Sep 2025 23:26:37 +0000 (19:26 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Wed, 24 Sep 2025 11:54:12 +0000 (07:54 -0400)
systemd version 255 or later is already the minimal supported
systemd version, so there is no longer a need to maintain this
additional check and additional complexity.

See also 27d9a96 .

test/TEST-43-KERNEL-INSTALL/test.sh

index 3dba1edf6aa674fa67ec31a5987cac06b19ab304..ab97a7df2627ff5cc0a051d65067d3593c01aaf8 100755 (executable)
@@ -13,11 +13,6 @@ test_check() {
         echo "This test needs kernel-install to run."
         return 1
     fi
-
-    if [[ $(kernel-install --version | grep -oP '(?<=systemd )\d+') -lt 255 ]]; then
-        echo "This test requires support for kernel-install add-all (v255)"
-        return 1
-    fi
 }
 
 test_run() {