On Mon, Oct 30, 2006 at 07:13:13PM +0100, Robert Schwebel wrote:
> On Mon, Oct 30, 2006 at 05:34:55PM +0000, MikeW wrote:
> > Creating filesystem image:
> > ->>
> > make_image_tgz: packing tgz archive...
> > /usr/local/lib/ptxdist-0.10.4/scripts/make_image_tgz.sh: line 24: fakeroot:
> > command not found
> > make_image_tgz: done.
> > -<<
> > 
> > This appears to be fixed by editing file build-host/fakeroot-1.5.1/scripts
> > to use $(PTXDIST_WORKSPACE)/local/bin/fakeroot instead of just 'fakeroot'
> > 
> > Am I correct here - if so, how was this supposed to work before ?
> 
> Sounds correct to me. I think nobody used this method recently. All our
> projects are using jffs2 filesystem images, and I suppose that's the way
> it is used in the community as well.

Well, I'm using tgz target :-) Better solution is to use $(FAKEROOT),
just in case someone wants to use systemwide installed version. Also
note Rules.make defines 'FAKEROOT = $(PTXCONF_HOST_PREFIX)/bin/fakeroot',
but this is not visible to shellscripts. My quick hack defines FAKEROOT
as fakeroot and I'd like to be able to system fakeroot (configure
option? automatic check?) to save few seconds of machine time :-)

        ladis

-- 
ptxdist mailing list
[email protected]

Reply via email to