On Fri, 11 Jul 2003 10:46:48 -0700 Mark Knecht wrote: > I have need once in a while to patch code that emerge won't download > itself. (New CVS from developers) To accomplish this I've been running > the following set of tasks > > ebuild package fetch > ebuild package unpack > ebuild package clean (possibly not required, or wrong?)
wrong, clean will wipe out the working directory > At this point I do the patches or substitute files as required by the > developers, then... > > ebuild compile > ebuild install > Does this look correct? I had sort of pieced this back together from > man ebuild, but I've had a couple of issues over the last few days: [snip] You need to specify the ebuild as the second parameter as in the previous steps. And note that install will do the "make install" step (or whatever the package uses to install) in $DESTDIR, which is at /var/tmp/portage/<package>/image. To really install the package you need the merge step for ebuild, as in "ebuild <package.ebuild> merge", this will copy the content of $DESTDIR to the live filesystem. Marius -- [EMAIL PROTECTED] mailing list
