From 151e7306cbd0cc004ee29aab3267e3295710a739 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 16 Sep 2020 17:23:01 -0700 Subject: ncurses: Create alternative symlinks for st and st-256color Adjust for other st implementations Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-core/ncurses/ncurses.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-core') 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" -- cgit 1.2.3-korg