On 31/03/2013 18:41, Tanstaafl wrote:
> Googled and can't seem to find an answer to this...
> 
> I've had FEATURES="buildpkg" for some time on my system, so I already
> have udev-171-r10 quickpkg'd...
> 
> But for the life of me, I can't seem to find instructions for how to
> convert /usr/portage/packages/sys-fs/udev-171-r10.tbz2 to an ebuild that
> I can then add to my local overlay...

The quickpkg is a tarball, it does not contain an ebuild. It only
contains the files installed by the ebuild.

You have to have the copy of the ebuild somewhere else. This only makes
sense as the way to re-install the pkg is "emerge -k <some_pkg>", so you
have to have the ebuild first before using the quickpkg.

A copy of the ebuild for the *currently*installed* package is in
/var/db/pkg/<cat>/<pkg>-<version>/*ebuild

You need to grab and store a copy of it before unininstalling it and
before it is removed from portage. Failing that, you can always get a
copy out of the Gentoo Attic (the URL for which I can never remember but
Google doesn't have that problem)




> 
> Can this be done with the quickpkg command, or some other portage
> tool/command? Or do I have to
> 
> Anyone know how to do this?
> 
> I'm basically using this udev event to learn a little about how quickpkg
> works, so, since udev-171 is no longer in the portage tree, I want to
> convert my quickpkg of it to an ebuild in my local overlay so my mask
> will work again... then I'll back everything up, and do the update to
> udev...
> 


-- 
Alan McKinnon
[email protected]


Reply via email to