[oe-commits] Frans Meulenbroeks : xinit: add dependency on util-linux-ng

git version control git at git.openembedded.org
Sun Feb 21 17:17:44 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7f6cec6f0adb6203a6dbaf8a43c67c2c4f8bf84e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7f6cec6f0adb6203a6dbaf8a43c67c2c4f8bf84e

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Sun Feb 21 18:11:30 2010 +0100

xinit: add dependency on util-linux-ng

if util-linux-ng is build before xinit, xinit will use mcookie (exported by util-linux-ng)
Howwever if util-linux-ng is not build before xinit it will not use mcookie.
This leads to an undesired scenario. E.g. the version of xinit on the angstrom feed needed
mcookie, but as my system did not have util-linux-ng installed, startx failed.
By making the dependency explicit at least we get consisency and apparently using mcookie
is the preferred solution.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/xorg-app/xinit_1.2.0.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/xorg-app/xinit_1.2.0.bb b/recipes/xorg-app/xinit_1.2.0.bb
index ce82fb0..2bae60c 100644
--- a/recipes/xorg-app/xinit_1.2.0.bb
+++ b/recipes/xorg-app/xinit_1.2.0.bb
@@ -2,5 +2,8 @@ require xorg-app-common.inc
 
 DESCRIPTION = "X Window System initializer"
 PE = "1"
+PR = "r1"
+
+DEPENDS += "util-linux-ng"
 
 FILES_${PN} += "${libdir}X11/xinit"





More information about the Openembedded-commits mailing list