]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test(UEFI): no longer needs to run inside a container
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 8 Oct 2025 13:26:40 +0000 (09:26 -0400)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Tue, 28 Oct 2025 23:55:14 +0000 (19:55 -0400)
Commit 82cd3d3 allows changing the dracut configuration using the
/run/initramfs/dracut.conf.d directory without modifying the
/etc or /usr directories.

This new dracut feature allows running this test on bare metal.

Remove the check for running inside a container that was left
in this test inadvertently.

test/TEST-12-UEFI/test.sh

index 1f7259475e26a8c877f14c29483c3d6185fde20e..9f62c5cbb9f726e95a035eb96d1e15648e494924 100755 (executable)
@@ -58,8 +58,7 @@ test_setup() {
     mkdir -p "$TESTDIR"/ESP/EFI/BOOT "$TESTDIR"/dracut.conf.d
 
     # This is the preferred way to build uki with dracut on a systemd based system
-    if command -v systemd-detect-virt &> /dev/null && systemd-detect-virt -c &> /dev/null \
-        && command -v kernel-install &> /dev/null \
+    if command -v kernel-install &> /dev/null \
         && command -v systemctl &> /dev/null \
         && command -v ukify &> /dev/null; then