Skip to contentSkip to conversation

matchbox-session: Should have high ALTERNATIE_PRIORITY than mini-x-session

PATCH In review Saul Wold 1 participant 2 messages Sep 6, 2012

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 matchbox-session: Should have high ALTERNATIE_PRIORITY than mini-x-session

By having a high priority it will be installed instead of the mini-x-session when both are in a give set of packagegroups, as it stands now the mini-x-session is installed by default on sato which is wrong!

---
 .../matchbox-session/matchbox-session_0.1.bb       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb +2 -2
index f4be279..b9e83a5 100644
@@ -11,13 +11,13 @@ RCONFLICTS_${PN} = "matchbox-common"
 SRC_URI = "file://matchbox-session"
 S = "${WORKDIR}"
 
-PR = "r3"
+PR = "r4"
 
 inherit update-alternatives
 
 ALTERNATIVE_${PN} = "x-session-manager"
 ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session"
-ALTERNATIVE_PRIORITY = "10"
+ALTERNATIVE_PRIORITY = "100"
 
 do_install() {
 	install -d ${D}/${bindir}
Signature · 1 line
1.7.7.6
author
#1 lore raw
Quoted 4 lines · Saul Wold

By having a high priority it will be installed instead of the mini-x-session when both are in a give set of packagegroups, as it stands now the mini-x-session is installed by default on sato which is wrong!

This issue occurred because during the packagegroup reorganization, the mini-x-session was added to core-x11-base

The mini-x-session is really targeted for the build appliance and maybe it's name caused some confusion. I would suggest we might want to create a different x-session file for core-x11-base and/or rename the mini-x-session, since it's not appropriate.

Quoted 26 lines
---
  .../matchbox-session/matchbox-session_0.1.bb       |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/matchbox-session/matchbox-session_0.1.bb +2 -2
index f4be279..b9e83a5 100644
@@ -11,13 +11,13 @@ RCONFLICTS_${PN} = "matchbox-common"
  SRC_URI = "file://matchbox-session"
  S = "${WORKDIR}"
 
-PR = "r3"
+PR = "r4"
 
  inherit update-alternatives
 
  ALTERNATIVE_${PN} = "x-session-manager"
  ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session"
-ALTERNATIVE_PRIORITY = "10"
+ALTERNATIVE_PRIORITY = "100"
 
  do_install() {
  	install -d ${D}/${bindir}