Signed-off-by: Dmitry Baryshkov <[email protected]>
---
 meta-oe/recipes-graphics/xorg-app/xterm_362.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_362.bb 
b/meta-oe/recipes-graphics/xorg-app/xterm_362.bb
index 34000342421c..2bbcd9211cea 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm_362.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_362.bb
@@ -37,7 +37,12 @@ do_install_append() {
     oe_runmake install-desktop DESTDIR="${D}" 
DESKTOP_FLAGS="--dir=${D}${DESKTOPDIR}"
 }
 
+RPROVIDES_${PN} = "virtual/x-terminal-emulator"
+
 # busybox can supply resize too
 inherit update-alternatives
 
-ALTERNATIVE_${PN} = "resize"
+ALTERNATIVE_${PN} = "resize x-terminal-emulator"
+ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm"
+# rxvt-unicode defaults to priority 10. Let's be one point lower to let it 
override xterm.
+ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9"
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#88422): 
https://lists.openembedded.org/g/openembedded-devel/message/88422
Mute This Topic: https://lists.openembedded.org/mt/79262571/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to