Skip to contentSkip to conversation

xserver-nodm-init 2.0: remove DEFAULT_PREFERENCE = "-1"

PATCH In review Denis 'GNUtoo' Carikli 3 participants 3 messages Apr 15, 2011 – Apr 19, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xserver-nodm-init 2.0: remove DEFAULT_PREFERENCE = "-1"

That fix was made in order to prevent distributions like Angstrom2010
from picking the 1.0 version:
Angstrom 2008 picked the 2.0 version while Angstrom 2010 use the 1.0 version.
That can prevent Xorg session from starting on the target device(like bug20 in my case):
The 1.0 lacks the following session start:

    xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1
And has that instead:
    /etc/X11/Xserver &

Which has the effect of starting Xorg only(and not the session,display manager etc...)

---
 recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb +0 -1
index 5d6ca39..317d58a 100644
@@ -3,7 +3,6 @@ LICENSE = "GPL"
 SECTION = "x11"
 PRIORITY = "optional"
 RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit"
-DEFAULT_PREFERENCE = "-1"
 PR = "r4"
 
 SRC_URI = "file://xserver-nodm"
Signature · 1 line
1.7.0.4
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Denis 'GNUtoo' Carikli

That fix was made in order to prevent distributions like Angstrom2010
from picking the 1.0 version:
Angstrom 2008 picked the 2.0 version while Angstrom 2010 use the 1.0 version.
That can prevent Xorg session from starting on the target device(like bug20 in my case):
The 1.0 lacks the following session start:

    xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1
And has that instead:
    /etc/X11/Xserver &

Which has the effect of starting Xorg only(and not the session,display manager etc...)

Quoted 24 lines
---
 recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb +0 -1
index 5d6ca39..317d58a 100644
@@ -3,7 +3,6 @@ LICENSE = "GPL"
 SECTION = "x11"
 PRIORITY = "optional"
 RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit"
-DEFAULT_PREFERENCE = "-1"
 PR = "r4"
 
 SRC_URI = "file://xserver-nodm"
Signature · 7 lines
1.7.0.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

Hello.

Quoted 11 lines · Martin Jansa
Quoted 10 lines · Denis 'GNUtoo' Carikli

That fix was made in order to prevent distributions like Angstrom2010
from picking the 1.0 version:
Angstrom 2008 picked the 2.0 version while Angstrom 2010 use the 1.0 version.
That can prevent Xorg session from starting on the target device(like bug20 in my case):
The 1.0 lacks the following session start:

    xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/var/log/Xsession.log 2>&1
And has that instead:
    /etc/X11/Xserver &

Which has the effect of starting Xorg only(and not the session,display manager etc...)

Quoted 3 lines
Quoted 1 line

I did run into this problem as well and pinned angstrom to this version to avoid it. Removing the default preference makes more sense to me. Allowing other to use it as well.

regards
Stefan Schmidt