From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Rq2cd-0004Wi-Qj for ptxdist@pengutronix.de; Wed, 25 Jan 2012 14:10:43 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Rq2cd-0002jz-Pi for ptxdist@pengutronix.de; Wed, 25 Jan 2012 14:10:43 +0100 Date: Wed, 25 Jan 2012 14:10:43 +0100 From: "Olbrich, Michael" Message-ID: <20120125131043.GP12400@pengutronix.de> References: <4F1EFADC.7020308@gmail.com> <201201242024.40361.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] X.org on mini2440 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Wed, Jan 25, 2012 at 10:29:21AM +0100, Guillermo Rodriguez Garcia wrote: > Hi Juergen, > = > 2012/1/24 Juergen Beisert : > [...] > >> Upon inspecting /usr/bin/startx I see that the following has leaked > >> through: > >> > >> > > mcookie=3D`/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini244= 0-2011.12.0/platform-mini2440/sysroot-host/bin/mcookie` > > > > This should help: > > > > $ ptxdist menuconfig > > =A0Shell & Console Tools ---> > > =A0 =A0 =A0 util-linux-ng -----> > > =A0 =A0 =A0 =A0 =A0[*] 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/p= latform-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=3D/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