Skip to content
Commit 21e17ff5 authored by Andreas Müller's avatar Andreas Müller Committed by Martin Jansa
Browse files

xfce4-session: ensure ip for machine is found by adding to hosts

This fixes very ugly behaviour: Starting applications e.g xfce4-terminal
can delay for minutes in case network is connected.

There was a similar approach implemented for xfce4-session but this was removed
in

commit f54d3a50
Author: Ash Charles <ashcharles@gmail.com>
Date:   Mon Feb 23 08:40:53 2015 -0800

    xfce4-session: Remove unneeded pkg_postinst

    The pkg_postinst inherited from previous versions of this recipe no
    longer seems necessary; no error message seen at runtime in a quick
    test.  As it made the generated packages unnecessarily
    machine-specific, remove this post-install step. Based on the ensuring
    discussion, this supersedes the original patch [1].

    [1] http://lists.openembedded.org/pipermail/openembedded-devel/2015-February/100454.html



Signed-off-by: default avatarAsh Charles <ashcharles@gmail.com>
Tested-by: default avatarAndreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>

Unfortuantely my tests for that patch only checked for the messagebox:

| Could not look up internet address for <hostname>
| This will prevent Xfce from operating correctly.
| It may be possible to correct the problem by adding
| <hostname> to the file /etc/hosts on your system.

For unknown reasons this messagebox is not created but the hint is still
extremely valid.

To avoid making 'xfce4-session' machine specific an extra meta-recipe
'machine-host' was created on which 'xfce4-session' rdepends.

Signed-off-by: default avatarAndreas Müller <schnitzeltony@googlemail.com>
parent d4e5b330
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment