On Tue, Oct 30, 2007 at 05:16:46PM +0100, Fabian Groffen wrote: > On 29-10-2007 19:06:36 +0400, Dirk Tilger wrote: > > According to `man 1 ebuild` I should be able with `ebuild $FILE > > manifest`to update the checksums of all the files associated with an > > ebuild, but the distfiles. However, on my system it downloads the > > distfiles then. > > Just to make this clear. When do you do this?
Well... I got a bit bored of all the handwork involved when I needed to have another piece of software on my computer. So I wrote this script that would rsync the main tree onto my system, eapify all new arrivals and add my preferred keyword into KEYWORDS. Then because the ebuild changed I need to update the checksums. `ebuild $FILE digest` would eventually make me a mirror, so I needed something that only checks the files in the package tree - 'manifest'. > Zac explained what happens if you do this in a directory with an > existing Manifest. [...] > If you indeed face this problem after you imported a package > yourself, then it may be a good idea to change the scripts to also copy > the Manifest file, such that this downloading of all distfiles can be > (hopefully) avoided. Caught me right in crime. :) After Zacs mail I tried to write up a reproducable demonstration and discovered that I can do things by hand that my script couldn't. So portage's allright. ;) I'll post the script here after a bit more testing, maybe parts of it can be put to good use. The advantage over `ecopy` is that you can add the converted tree as an overlay. `emerge -s` finds then everything and `emerge -pv` is taking care of dependencies. And you get a practical base reference for `diff -ur`. ;) Dirk. -- [EMAIL PROTECTED] mailing list
