]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(crypt-gpg): tr needs to be installed
authorAndre Russ <andre.russ@sap.com>
Tue, 24 Aug 2021 21:38:14 +0000 (21:38 +0000)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Wed, 25 Aug 2021 23:58:12 +0000 (23:58 +0000)
modules.d/91crypt-gpg/module-setup.sh

index 634a5149f6444bde3abec80a291c43bc44c2a3fe..501869a26e96a511acfa05fcee9612c1f29034ab 100755 (executable)
@@ -3,7 +3,7 @@
 # GPG support is optional
 # called by dracut
 check() {
-    require_binaries gpg || return 1
+    require_binaries gpg tr || return 1
 
     if sc_requested; then
         if ! sc_supported; then
@@ -23,7 +23,7 @@ depends() {
 
 # called by dracut
 install() {
-    inst_multiple gpg
+    inst_multiple gpg tr
     inst "$moddir/crypt-gpg-lib.sh" "/lib/dracut-crypt-gpg-lib.sh"
 
     if sc_requested; then