From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.gw90.de ([188.40.100.199]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RO46I-0000wT-Gn for openembedded-core@lists.openembedded.org; Wed, 09 Nov 2011 10:05:42 +0100 Received: from f053032093.adsl.alicedsl.de ([78.53.32.93] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RO40M-0003Fl-LL for openembedded-core@lists.openembedded.org; Wed, 09 Nov 2011 08:59:34 +0000 Message-ID: <1320829161.4622.2.camel@mattotaupa> From: Paul Menzel To: openembedded-core@lists.openembedded.org Date: Wed, 09 Nov 2011 09:59:21 +0100 In-Reply-To: <4EBA3834.8030406@linux.intel.com> References: <1320755519.3915.15.camel@mattotaupa> <1320757122.3915.18.camel@mattotaupa> <4EBA3834.8030406@linux.intel.com> X-Mailer: Evolution 3.0.3-2 Mime-Version: 1.0 Subject: Re: [PATCH v3] xinit: Fix `startx` looking for `mcookie` in sysroot X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 09:05:42 -0000 X-Groupsio-MsgNum: 12182 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-eoKgYB/f1OT8go3RUIOv" --=-eoKgYB/f1OT8go3RUIOv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 8 Nov 2011 13:00:32 +0100 `startx` run on a system based on the demo systemd image [1] and `opkg`-ins= talled packages fails with the following error. /usr/bin/startx: line 139: /OE/tentacle/build/tmp-angstrom_2010_x/sysroots= /x68_64-linux/usr/bin/mcookie: No such file or directory Applying commit 443bcc07 [1] from OE-classic Author: Tom Rini Date: Thu Apr 7 10:36:43 2011 -0700 =20 xinit: Fix mcookie / util-linux-ng dependency =20 xinit just needs to know the runtime path of mcookie so we need= to RDEPEND on util-linux-ng and pass the runtime path in via EXTRA= _OECONF =20 Signed-off-by: Tom Rini fixes this issue. Commit 7f6cec6f [2] Author: Frans Meulenbroeks Date: Sun Feb 21 18:11:30 2010 +0100 =20 xinit: add dependency on util-linux-ng =20 [=E2=80=A6] tried to address the same problem but apparently did not help, because Tom = still had problems. [1] http://www.angstrom-distribution.org/demo/beagleboard/Angstrom-systemd-= image-eglibc-ipk-v2011.11-core-beagleboard.rootfs.tar.bz2 [2] http://git.openembedded.org/openembedded/commit/443bcc0785bc004e471b375= 0a34d12d2fd2e5dad [3] http://git.openembedded.org/openembedded/commit/7f6cec6f0adb6203a6dbaf8= a43c67c2c4f8bf84e Signed-off-by: Paul Menzel --- 1. Please note that I did neither build nor run tested this patch and just noticed the error trying the demo image. 2. Koen mentioned something on IRC wanting to get rid of `startx` entirely. But this patch should be applied nevertheless. v2: move `RDEPENDS` further down as suggested by Koen v3: there is no util-linux-ng in OE-core as noted by Saul --- meta/recipes-graphics/xorg-app/xinit_1.3.0.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb b/meta/recipes-g= raphics/xorg-app/xinit_1.3.0.bb index ee7c64d..6953ccc 100644 --- a/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb +++ b/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb @@ -9,9 +9,14 @@ systems. When this first client exits, xinit will kill the= X server and \ then terminate." =20 LIC_FILES_CHKSUM =3D "file://COPYING;md5=3D0d4b5eef75f1584ccbdc5e4a3431440= 7" -PR =3D "r0" + +PR =3D "r1" PE =3D "1" =20 +EXTRA_OECONF =3D "ac_cv_path_MCOOKIE=3D${bindir}/mcookie" + +RDEPENDS_${PN} +=3D "util-linux" + FILES_${PN} +=3D "${libdir}X11/xinit" =20 SRC_URI[md5sum] =3D "bc4e8b7d1919597cc37a0d24aa149dda" --=20 1.7.7.2 --=-eoKgYB/f1OT8go3RUIOv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk66QOkACgkQPX1aK2wOHVgXxQCfa6z2xgwR3RL+m/tCwTis0U8U GkEAoIbO1hb1OVyHVowMoYHxy8Qdclza =JZ3q -----END PGP SIGNATURE----- --=-eoKgYB/f1OT8go3RUIOv--