On 6/24/20 3:17 AM, Changqing Li wrote:
From: Changqing Li <[email protected]>

fix below error:
/etc/X11/xinit/xinitrc: line 55: exec: xterm: not found

by default, xinit will generate /etc/X11/xinit/xinitrc,
and have below config in it:
XTERM -geometry 80x50+494+51 &
XTERM -geometry 80x20+494-0 &
exec XTERM -geometry 80x66+0+0 -name login

the default XTERM is xterm, but xterm is in meta-oe,
use rxvt instead

Signed-off-by: Changqing Li <[email protected]>
---
  meta/recipes-graphics/xorg-app/xinit_1.4.1.bb | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb 
b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
index c9e28d9bba..ed11830cf2 100644
--- a/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
+++ b/meta/recipes-graphics/xorg-app/xinit_1.4.1.bb
@@ -19,4 +19,7 @@ SRC_URI[sha256sum] = 
"de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa
EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie" -RDEPENDS_${PN} += "util-linux-mcookie"
+PACKAGECONFIG ??= "rxvt"
+PACKAGECONFIG[rxvt] = "--with-xterm=rxvt,,,rxvt-unicode,"
+
+RDEPENDS_${PN} += "util-linux-mcookie rxvt-unicode"

As Richard has already pointed out, the fourth argument to PACKAGECONFIG is the additional RDEPENDS the config introduces, so no need to list it here again.

Jacob
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139875): 
https://lists.openembedded.org/g/openembedded-core/message/139875
Mute This Topic: https://lists.openembedded.org/mt/75073701/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to