]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
feat(dracut): print $uefi with --printconfig main
authorJo Zzsi <jozzsicsataban@gmail.com>
Wed, 24 Dec 2025 22:36:52 +0000 (17:36 -0500)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Thu, 25 Dec 2025 16:43:29 +0000 (11:43 -0500)
Allow the enviroment (e.g. package managers) to discover
if uefi is enabled or not.

Similar to 71a713bb2 .

dracut.sh

index c8f47f74b64b55e29a85b79af4eee575e2e6bcb6..d490c4e9e5ddd4ce96040263365d6819986aeaaf 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -2672,6 +2672,7 @@ if [[ $printconfig ]]; then
         ro_mnt \
         squash_compress \
         sshkey \
         ro_mnt \
         squash_compress \
         sshkey \
+        uefi \
         use_fstab; do
         if [[ -n ${!v} ]]; then
             echo "dracutconfig: $v=${!v}"
         use_fstab; do
         if [[ -n ${!v} ]]; then
             echo "dracutconfig: $v=${!v}"