On Friday 06 October 2006 14:50, Hans-Werner Hilse wrote: [SNIP] > > I'm not sure why you don't > > think he wants the ROOT var. > > Because it didn't sound like he was trying to set up a chroot > environment just for that package but rather make shure its installed > files don't cludder /usr. If ROOT is set, that will also emerge all > RDEPENDs into that.
Hmm... By reading the thread again seems you're right. I blame lack of sleep. > > Also ${D} isn't where it's going to be > > installed to (in the ebuild qmerge sense - see `man ebuild'). It's > > where the image is going to be installed (the ebuild install sense - > > again see `man ebuild`). > > Well, I'm not an English master, but I find your statement irritating. [SNIP] It was because I managed to overlook the important part. I just read: "set DESTDIR to ${D}". Sorry.. Thanks for clearing this. :) [SNIP] At least we agree now... And just for the OP: The ROOT var changes the location of the vdb (/var/db/pkg) too. It contains info about what packages are installed etc... So the main system (when the ROOT var isn't set - it defaults to '/') won't even know that a package installed with the ROOT var set to something else than '/' is installed... -- Bo Andresen
pgpWav96wSLr1.pgp
Description: PGP signature