thin-provisioning tools: use sh on path for txt2man

txt2man will use /bin/sh and may try to invoke ksh if it
does not like /bin/sh.  Use "our" version of sh.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Slater, Joseph 2018-11-29 12:18:24 -08:00 committed by Khem Raj
parent 7fd1474bee
commit 882d907f77
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
thin-provisioning-tools: use sh on path when invoking txt2man
txt2man contains a test which might try to use ksh to run the script, so we
avoid running /bin/sh.
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: joe.slater <joe.slater@windriver.com>
--- a/Makefile.in
+++ b/Makefile.in
@@ -210,7 +210,7 @@ endif
%.8: %.txt bin/txt2man
@echo " [txt2man] $<"
- $(V) bin/txt2man -p -t $(basename $(notdir $<)) $< > $@
+ $(V) sh bin/txt2man -p -t $(basename $(notdir $<)) $< > $@
#----------------------------------------------------------------

View File

@ -10,6 +10,7 @@ S = "${WORKDIR}/git"
SRC_URI = "git://github.com/jthornber/thin-provisioning-tools \
file://0001-do-not-strip-pdata_tools-at-do_install.patch \
file://0001-fix-compile-failed-with-libc-musl.patch \
file://use-sh-on-path.patch \
"
SRCREV = "6f936992b8e6208a7838fcf1ec87c5bd3a694a77"