you can do link's from /usr/portage/distfiles to /stuff/oe-dir/ downloads and later do a md5sum :)
I have a script for do it. It's very poor but works. Can I attach the file here ? El 11/10/2007, a las 20:40, Michal Panczyk escribió: > Hello all, > I am looking for a tip how to make openembedded work with gentoo's > portage in the field of downloaded source files. > I am not sure how may OE uses use gentoo linux, so I will make some > short introduction. > From my, user's point of view, gentoo's pakage management system works > similar to OE - it takes care of dependencies, compiles packages from > the source, and what is most important for this massage - downloads > the souce files and checks the signatures.... > The source files are kept in /usr/portage/distfiles/ dir which > belongs to root. > When OE builds a package it downloads the source file, compares its > md5 sum and stores it in directory from the local.conf. Additional > thing that OE does it leaves a footprint that a job of downloading a > file has been done - by creating PACKAGE.do_fetch file in proper > tmp/stamps/xxx/ directory. Without that file bitbake try's to fetch > the source even it the file was already downloaded by bitbake. > My question is - how to make OE work with files that were already > downloaded (in this case by gentoo' portage) to: > 1) save time/bandwidth, by not downloading the same files twice, > 2) save space by keeping all the source files in one place ? > > I would be grateful for some tips..... > > Regards, > Michal > > _______________________________________________ > Openembedded-users mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users _______________________________________________ Openembedded-users mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
