From: Thilo Bangert Date: Fri, 24 Jul 2009 20:01:35 +0000 (+0200) Subject: support for unusual terminfo location X-Git-Tag: 0.8~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a15ad925e90864be2114936c1a2062ccf5875a58;p=thirdparty%2Fdracut.git support for unusual terminfo location the following patch makes the 95terminfo module work on gentoo. --- diff --git a/modules.d/95terminfo/install b/modules.d/95terminfo/install index 7f14aa1c3..4d8f39504 100755 --- a/modules.d/95terminfo/install +++ b/modules.d/95terminfo/install @@ -1,3 +1,8 @@ #!/bin/bash # terminfo bits make things work better if you fall into interactive mode -dracut_install $(find /lib/terminfo -type f) \ No newline at end of file +TERMINFODIR="/lib/terminfo" + +[ ! -d ${TERMINFODIR} -a -d "/etc/terminfo" ] && \ + TERMINFODIR="/etc/terminfo" + +dracut_install $(find ${TERMINFODIR} -type f)