On Wed, Jan 25, 2012 at 10:29:21AM +0100, Guillermo Rodriguez Garcia wrote: > Hi Juergen, > > 2012/1/24 Juergen Beisert <[email protected]>: > [...] > >> 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 [email protected]
