Patchwork [3/3] xinit: rdepends on util-linux-mcookie to avoid brining whole util-linux

login
register
mail settings
Submitter Otavio Salvador
Date Nov. 10, 2011, 9:37 p.m.
Message ID <d2cc2964dc67b5d428e53f6580b282ded72cc701.1320961001.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/14783/
State Accepted
Commit a8ed4fcd79f6283c1d45f347dce894d784183900
Headers show

Comments

Otavio Salvador - Nov. 10, 2011, 9:37 p.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/recipes-graphics/xorg-app/xinit_1.3.0.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Paul Menzel - Nov. 10, 2011, 11:11 p.m.
Am Donnerstag, den 10.11.2011, 21:37 +0000 schrieb Otavio Salvador:

s/brining/bringing in/

Commit message body:

With 

        commit 1053a6a8e15851ef139d8aa4683849fc2fc277e1
        Author: Paul Menzel <paulepanter@users.sourceforge.net>
        Date:   Tue Nov 8 13:00:32 2011 +0100
        
            xinit: Fix `startx` looking for `mcookie` in sysroot

`util-linux` was added as a run time dependency because it includes
`/usr/bin/mcookie` needed for `startx`. This dragged in 10 packages to
images using `startx`. Packaging `mcookie` separately in the previous
patch and only run time depending on `util-linux-mcookie` solves this
problem.

> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>

> ---
>  meta/recipes-graphics/xorg-app/xinit_1.3.0.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

[…]


Thanks,

Paul

Patch

diff --git a/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb b/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb
index 6953ccc..08dfe12 100644
--- a/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb
+++ b/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb
@@ -10,12 +10,12 @@  then terminate."
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
 
-PR = "r1"
+PR = "r2"
 PE = "1"
 
 EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
 
-RDEPENDS_${PN} += "util-linux"
+RDEPENDS_${PN} += "util-linux-mcookie"
 
 FILES_${PN} += "${libdir}X11/xinit"