From a575ea0337878708766cd074a14ea5d8be32d360 Mon Sep 17 00:00:00 2001
From: Owen Xie <15828145+nfusionz@users.noreply.github.com>
Date: Sun, 31 May 2026 18:43:31 -0400
Subject: [PATCH 2/2] dracut: include chmod for password unlocker

Fixes issue in non-systemd environments that may not
have chmod included in the init environment already.
---
 src/luks/dracut/clevis/module-setup.sh.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/luks/dracut/clevis/module-setup.sh.in b/src/luks/dracut/clevis/module-setup.sh.in
index 32fac41..cb0bd22 100755
--- a/src/luks/dracut/clevis/module-setup.sh.in
+++ b/src/luks/dracut/clevis/module-setup.sh.in
@@ -52,6 +52,7 @@ install() {
         inst_script "$moddir"/clevis-password-unlocker-prepare /bin/clevis-password-unlocker-prepare
         inst_multiple \
             clevis-luks-unlock \
+            chmod \
             blkid
     fi
 
-- 
2.54.0

