summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-09-16 17:23:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-21 23:53:35 +0100
commit151e7306cbd0cc004ee29aab3267e3295710a739 (patch)
tree21230cdc12244fa60d1d9f4a43d298fac13bad84 /meta/recipes-core
parentce0c1cb2fc67881d2edcbe269ea934917ccfb48a (diff)
downloadopenembedded-core-151e7306cbd0cc004ee29aab3267e3295710a739.tar.gz
ncurses: Create alternative symlinks for st and st-256color
Adjust for other st implementations Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 1627fb91d3..4b61889668 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -273,6 +273,11 @@ inherit update-alternatives
ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_ncurses-tools_class-target = "clear reset"
+ALTERNATIVE_ncurses-terminfo_class-target = "st st-256color"
+
+ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st"
+
+ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color"
BBCLASSEXTEND = "native nativesdk"