Hi,

On Wed, Jun 24, 2020 at 09:17:00AM +0800, 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,"

IIRC, no need for the last comma.

> +
> +RDEPENDS_${PN} += "util-linux-mcookie rxvt-unicode"

No need for that last line. If rxvt PACKAGECONFIG is picked, then rxvt-unicode
will be added to RDEPENDS automagically.

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

View/Reply Online (#139876): 
https://lists.openembedded.org/g/openembedded-core/message/139876
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