mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Olbrich, Michael" <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] X.org on mini2440
Date: Wed, 25 Jan 2012 14:10:43 +0100	[thread overview]
Message-ID: <20120125131043.GP12400@pengutronix.de> (raw)
In-Reply-To: <CABDcavYJr0wR7bWfe+Vs+_HAMwpaQ3+85XXuO-mp0iZmvvx1qw@mail.gmail.com>

On Wed, Jan 25, 2012 at 10:29:21AM +0100, Guillermo Rodriguez Garcia wrote:
> Hi Juergen,
> 
> 2012/1/24 Juergen Beisert <jbe@pengutronix.de>:
> [...]
> >> Upon inspecting /usr/bin/startx I see that the following has leaked
> >> through:
> >>
> >>
> > mcookie=`/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2011.12.0/platform-mini2440/sysroot-host/bin/mcookie`
> >
> > This should help:
> >
> > $ ptxdist menuconfig
> >  Shell & Console Tools --->
> >       util-linux-ng ----->
> >          [*] mcookie
> 
> No, this is already selected (it is automatically brought in when you
> select the xinit package, so the dependencies are setup properly). And
> in fact the mcookie command is available in the target, and works:
> 
> root@mini2440:~ mcookie
> 1b82325e2a4a0187fe4f59ffaa118194
> root@mini2440:~ which mcookie
> /usr/bin/mcookie
> 
> The problem is that the startx script that is copied to the target's
> rootfs has a hardcoded path to the mcookie binary on the host.
> 
> I tried "ptxconfig clean xorg-app-xinit; ptxconfig go", and the output
> from configure shows this:
> 
> [...]
> checking for mcookie...
> /home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2011.12.0/platform-mini2440/sysroot-host/bin/mcookie
> [...]

I see the problem. It "works for me" because this check finds
/usb/bin/mcookie on my build system... Try adding
"ac_cv_path_MCOOKIE=/usr/bin/mcookie" to XORG_APP_XINIT_ENV in
rules/xorg-app-xinit.make.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-01-25 13:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 18:39 Guillermo Rodriguez
2012-01-24 19:24 ` Juergen Beisert
2012-01-25  9:29   ` Guillermo Rodriguez Garcia
2012-01-25 13:10     ` Olbrich, Michael [this message]
2012-01-25 16:43       ` Guillermo Rodriguez Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120125131043.GP12400@pengutronix.de \
    --to=mol@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox