]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(mksh): requires printf
authorTomasz Paweł Gajc <tpgxyz@gmail.com>
Fri, 11 Jun 2021 10:11:17 +0000 (12:11 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 29 Jun 2021 22:01:41 +0000 (00:01 +0200)
modules.d/00mksh/module-setup.sh

index 8da3376e88182365315761eccabf834ff36cceb2..8942b420a78420a8eaacde39552ed7d10cb4a362 100755 (executable)
@@ -7,6 +7,7 @@ check() {
 
     # If the binary(s) requirements are not fulfilled the module can't be installed.
     require_binaries mksh || return 1
+    require_binaries printf || return 1
 
     # Return 255 to only include the module, if another module requires it.
     return 255
@@ -25,6 +26,7 @@ depends() {
 install() {
 
     inst /bin/mksh
+    inst printf
 
     # Prefer mksh as default shell if no other shell is preferred.
     [[ -L $initdir/bin/sh ]] || ln -sf mksh "${initdir}/bin/sh"