my unreal tournament GOTY cds were damaged, so I quickpkged my install in case I needed it again. Recently I got a new hard drive and did a fresh gentoo install and now I'm trying to install the binary package I created, but it asks for the CDs... Why is src_unpack being run for a binary package? Makes no sense to me, it already has all the files it needs in the proper directory structure, just need to extract to image dir then copy as usual. I expected emerge -K to create /var/tmp/portage/blah, unpack to image/, mark it as installed (touch .unpacked .compiled .installed) then ebuild qmerge. Doing this manually gives me exactly what I wanted.
The CDs are asked for because of legal issues. The tbz2s you made are simply that - tar.bz2 files - you don't really need portage to reuse them (although it might have helped).
Umm... what?
Are you sure src_unpack was called? When did you make your binary package? The cdrom_get_cds call was moved to src_unpack on 24 Oct 2006. If your package is from before that date, then it would have had cdrom_get_cds in pkg_setup, which is run for every binary package. Binary packages use their own internal ebuilds and not the ones in the tree.
Everything related to the package is dated March 23 2007. I'll check the ebuild from within if you can point out how to extract it
I'll have to find out, as I don't actually know (without installing it). If you have it installed, it'll be in /var/db/pkg/games-fps/unreal-tournament-goty-$version on your machine. Wrt comment #2, that was in response to the "legal issues" not to you.
no reply. reopen with more info regarding the ebuild installed.
Created attachment 156149 [details] unreal-tournament-goty-451.ebuild looks like the cd stuff is in pkg_setup()
That ebuild is from 2004. Rebuild your binary package with the latest ebuild.