* [PATCH] xinit: Fix `startx` looking for `mcookie` in sysroot
@ 2011-11-08 12:31 Paul Menzel
2011-11-08 12:47 ` Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Paul Menzel @ 2011-11-08 12:31 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2534 bytes --]
Date: Tue, 8 Nov 2011 13:00:32 +0100
`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
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>
---
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.
---
meta/recipes-graphics/xorg-app/xinit_1.3.0.bb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
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 ee7c64d..cdfc843 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,13 @@ systems. When this first client exits, xinit will kill the X server and \
then terminate."
LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
-PR = "r0"
+RDEPENDS_${PN} += "util-linux-ng"
+
+PR = "r1"
PE = "1"
+EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
+
FILES_${PN} += "${libdir}X11/xinit"
SRC_URI[md5sum] = "bc4e8b7d1919597cc37a0d24aa149dda"
--
1.7.7.2
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH] xinit: Fix `startx` looking for `mcookie` in sysroot
2011-11-08 12:31 [PATCH] xinit: Fix `startx` looking for `mcookie` in sysroot Paul Menzel
@ 2011-11-08 12:47 ` Koen Kooi
2011-11-08 12:58 ` [PATCH v2] " Paul Menzel
0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2011-11-08 12:47 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2504 bytes --]
Op 8 nov. 2011, om 13:31 heeft Paul Menzel het volgende geschreven:
> Date: Tue, 8 Nov 2011 13:00:32 +0100
>
> `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
>
> 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>
> ---
> 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.
> ---
> meta/recipes-graphics/xorg-app/xinit_1.3.0.bb | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> 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 ee7c64d..cdfc843 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,13 @@ systems. When this first client exits, xinit will kill the X server and \
> then terminate."
>
> LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
> -PR = "r0"
> +RDEPENDS_${PN} += "util-linux-ng"
RDEPENDS go below do_install
regards,
Koen
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 169 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH v2] xinit: Fix `startx` looking for `mcookie` in sysroot
2011-11-08 12:47 ` Koen Kooi
@ 2011-11-08 12:58 ` Paul Menzel
2011-11-09 8:22 ` Saul Wold
0 siblings, 1 reply; 6+ messages in thread
From: Paul Menzel @ 2011-11-08 12:58 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2597 bytes --]
Date: Tue, 8 Nov 2011 13:00:32 +0100
`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
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>
---
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
---
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-graphics/xorg-app/xinit_1.3.0.bb
index ee7c64d..20b378c 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."
LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
-PR = "r0"
+
+PR = "r1"
PE = "1"
+EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
+
+RDEPENDS_${PN} += "util-linux-ng"
+
FILES_${PN} += "${libdir}X11/xinit"
SRC_URI[md5sum] = "bc4e8b7d1919597cc37a0d24aa149dda"
--
1.7.7.2
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v2] xinit: Fix `startx` looking for `mcookie` in sysroot
2011-11-08 12:58 ` [PATCH v2] " Paul Menzel
@ 2011-11-09 8:22 ` Saul Wold
2011-11-09 8:59 ` [PATCH v3] " Paul Menzel
0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2011-11-09 8:22 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Paul Menzel
On 11/08/2011 04:58 AM, Paul Menzel wrote:
> Date: Tue, 8 Nov 2011 13:00:32 +0100
>
> `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
>
> 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>
> ---
> 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
> ---
> 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-graphics/xorg-app/xinit_1.3.0.bb
> index ee7c64d..20b378c 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."
>
> LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
> -PR = "r0"
> +
> +PR = "r1"
> PE = "1"
>
> +EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
> +
> +RDEPENDS_${PN} += "util-linux-ng"
> +
Do you really mean util-linux in oe-core?
Sau!
> FILES_${PN} += "${libdir}X11/xinit"
>
> SRC_URI[md5sum] = "bc4e8b7d1919597cc37a0d24aa149dda"
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH v3] xinit: Fix `startx` looking for `mcookie` in sysroot
2011-11-09 8:22 ` Saul Wold
@ 2011-11-09 8:59 ` Paul Menzel
2011-11-10 17:20 ` Saul Wold
0 siblings, 1 reply; 6+ messages in thread
From: Paul Menzel @ 2011-11-09 8:59 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2653 bytes --]
Date: Tue, 8 Nov 2011 13:00:32 +0100
`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
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>
---
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-graphics/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."
LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
-PR = "r0"
+
+PR = "r1"
PE = "1"
+EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
+
+RDEPENDS_${PN} += "util-linux"
+
FILES_${PN} += "${libdir}X11/xinit"
SRC_URI[md5sum] = "bc4e8b7d1919597cc37a0d24aa149dda"
--
1.7.7.2
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH v3] xinit: Fix `startx` looking for `mcookie` in sysroot
2011-11-09 8:59 ` [PATCH v3] " Paul Menzel
@ 2011-11-10 17:20 ` Saul Wold
0 siblings, 0 replies; 6+ messages in thread
From: Saul Wold @ 2011-11-10 17:20 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Paul Menzel
On 11/09/2011 12:59 AM, Paul Menzel wrote:
> Date: Tue, 8 Nov 2011 13:00:32 +0100
>
> `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
>
> 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>
> ---
> 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-graphics/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."
>
> LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
> -PR = "r0"
> +
> +PR = "r1"
> PE = "1"
>
> +EXTRA_OECONF = "ac_cv_path_MCOOKIE=${bindir}/mcookie"
> +
> +RDEPENDS_${PN} += "util-linux"
> +
> FILES_${PN} += "${libdir}X11/xinit"
>
> SRC_URI[md5sum] = "bc4e8b7d1919597cc37a0d24aa149dda"
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-10 17:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 12:31 [PATCH] xinit: Fix `startx` looking for `mcookie` in sysroot Paul Menzel
2011-11-08 12:47 ` Koen Kooi
2011-11-08 12:58 ` [PATCH v2] " Paul Menzel
2011-11-09 8:22 ` Saul Wold
2011-11-09 8:59 ` [PATCH v3] " Paul Menzel
2011-11-10 17:20 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox