xinit: add dependency on util-linux-ng
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 21 Feb 2010 17:11:30 +0000 (18:11 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sun, 21 Feb 2010 17:11:30 +0000 (18:11 +0100)
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@gmail.com>
recipes/xorg-app/xinit_1.2.0.bb

index ce82fb0..2bae60c 100644 (file)
@@ -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"