]> code.ossystems Code Review - openembedded-core.git/commitdiff
ncurses: Create alternative symlinks for st and st-256color
authorKhem Raj <raj.khem@gmail.com>
Thu, 17 Sep 2020 00:23:01 +0000 (17:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Sep 2020 22:53:35 +0000 (23:53 +0100)
Adjust for other st implementations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/ncurses/ncurses.inc

index 1627fb91d37dfc07baf0d162853d15f80816f548..4b61889668048ab0dfc2a4e6a5b5840c56370d14 100644 (file)
@@ -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"