]> code.ossystems Code Review - openembedded-core.git/commit
xinit: Fix `startx` looking for `mcookie` in sysroot
authorPaul Menzel <paulepanter@users.sourceforge.net>
Tue, 8 Nov 2011 12:00:32 +0000 (13:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:27:14 +0000 (16:27 +0000)
commita32d9dbc25fce5e8566681f0c7f606eedaaf3933
tree36806716af503e14bfd613fc69177b04ef14ced1
parent802cd855f1860ef0fbbbbf87b0af7c5dcdc35975
xinit: Fix `startx` looking for `mcookie` in sysroot

`startx` run on a system based on the demo systemd image [1] and `opkg`-installed 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 <tom_rini@mentor.com>
        Date:   Thu Apr 7 10:36:43 2011 -0700

            xinit: Fix mcookie / util-linux-ng dependency

            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

            (From OE-Core rev: 1053a6a8e15851ef139d8aa4683849fc2fc277e1)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
fixes this issue. Commit 7f6cec6f [2]

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

            xinit: add dependency on util-linux-ng

        […]

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/443bcc0785bc004e471b3750a34d12d2fd2e5dad
[3] http://git.openembedded.org/openembedded/commit/7f6cec6f0adb6203a6dbaf8a43c67c2c4f8bf84e

Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-app/xinit_1.3.0.bb