projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7373bf
)
When installing a binpkg make sure we record our own prefix, not the one of the binpk...
author
Fabian Groffen
<grobian@gentoo.org>
Mon, 7 Jan 2008 20:56:54 +0000
(20:56 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Mon, 7 Jan 2008 20:56:54 +0000
(20:56 -0000)
svn path=/main/branches/prefix/; revision=9153
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index a91a5edf60f35434ccc7d554c52ad88cd92d4e8e..4515b2d9ec1db939432178117ffa490bb18f1871 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-5970,6
+5970,10
@@
def pkgmerge(mytbz2, myroot, mysettings, mydbapi=None, vartree=None, prev_mtimes
# We want to install in "our" prefix, not the binary one
mysettings["EPREFIX"] = EPREFIX
+ # Store "our" prefix in the vdb.
+ fp = open(os.path.join(infloc, "EPREFIX"), "w")
+ fp.write(EPREFIX+"\n")
+ fp.close()
# Eventually we'd like to pass in the saved ebuild env here.
retval = doebuild(myebuild, "setup", myroot, mysettings, debug=debug,