From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:master commit in: modules/
Date: Sun, 15 Dec 2013 04:19:47 +0000 (UTC) [thread overview]
Message-ID: <1387081036.27b751ffd9594e0128a3d70f83c7af18dab03838.mattst88@gentoo> (raw)
commit: 27b751ffd9594e0128a3d70f83c7af18dab03838
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 20 02:56:04 2012 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Dec 15 04:17:16 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=27b751ff
modules/generic_stage_target.py: Use 'portdir' instead of hard-coding '/usr/portage'
W. Trevor King: Refactored Git history for Brian Dolbec's content changes.
Reviewed-by: Matt Turner <mattst88 <AT> gentoo.org>
Signed-off-by: W. Trevor King <wking <AT> tremily.us>
Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>
---
modules/generic_stage_target.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
index 848aca2..0871cba 100644
--- a/modules/generic_stage_target.py
+++ b/modules/generic_stage_target.py
@@ -406,7 +406,7 @@ class generic_stage_target(generic_target):
def set_cleanables(self):
self.settings["cleanables"]=["/etc/resolv.conf","/var/tmp/*","/tmp/*",\
- "/root/*","/usr/portage"]
+ "/root/*", self.settings["portdir"]]
def set_snapshot_path(self):
self.settings["snapshot_path"]=normpath(self.settings["storedir"]+\
@@ -785,7 +785,7 @@ class generic_stage_target(generic_target):
print "Valid snapshot cache, skipping unpack of portage tree..."
unpack=False
else:
- destdir=normpath(self.settings["chroot_path"]+"/usr/portage")
+ destdir = normpath(self.settings["chroot_path"] + self.settings["portdir"])
cleanup_errmsg="Error removing existing snapshot directory."
cleanup_msg=\
"Cleaning up existing portage tree (This can take a long time)..."
@@ -799,7 +799,7 @@ class generic_stage_target(generic_target):
if "AUTORESUME" in self.settings \
and os.path.exists(self.settings["chroot_path"]+\
- "/usr/portage/") \
+ self.settings["portdir"]) \
and os.path.exists(self.settings["autoresume_path"]\
+"unpack_portage") \
and self.settings["snapshot_path_hash"] == snapshot_hash:
@@ -846,7 +846,7 @@ class generic_stage_target(generic_target):
cmd("rm -f "+self.settings["chroot_path"]+"/etc/portage/make.profile",\
"Error zapping profile link",env=self.env)
cmd("mkdir -p "+self.settings["chroot_path"]+"/etc/portage/")
- cmd("ln -sf ../../usr/portage/profiles/"+\
+ cmd("ln -sf ../.." + self.settings["portdir"] + "/profiles/" + \
self.settings["target_profile"]+" "+\
self.settings["chroot_path"]+"/etc/portage/make.profile",\
"Error creating profile link",env=self.env)
next reply other threads:[~2013-12-15 4:19 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-15 4:19 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-01-06 2:00 [gentoo-commits] proj/catalyst:master commit in: modules/ Brian Dolbec
2014-01-06 2:00 Brian Dolbec
2014-01-06 2:00 Brian Dolbec
2014-01-06 2:00 Brian Dolbec
2014-01-03 6:12 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2014-01-06 2:00 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2014-01-03 5:03 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2014-01-06 2:00 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2013-12-15 21:33 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-12-15 4:19 Matt Turner
2013-08-08 5:38 Matt Turner
2013-08-02 5:59 Brian Dolbec
2013-05-27 20:26 Richard Farina
2013-05-27 20:26 Richard Farina
2013-05-27 20:15 Richard Farina
2013-02-23 2:02 Matt Turner
2013-02-23 2:02 Matt Turner
2013-02-23 2:02 Matt Turner
2013-02-23 2:02 Matt Turner
2013-02-23 2:02 Matt Turner
2013-02-05 8:34 Matt Turner
2012-11-22 2:51 Jorge Manuel B. S. Vicetto
2012-11-22 2:51 Jorge Manuel B. S. Vicetto
2012-11-01 20:04 Richard Farina
2012-10-29 20:36 Anthony G. Basile
2012-10-29 20:35 Anthony G. Basile
2012-10-14 5:50 Matt Turner
2012-08-31 0:34 Jorge Manuel B. S. Vicetto
2012-08-29 4:17 Jorge Manuel B. S. Vicetto
2012-08-26 19:30 Jorge Manuel B. S. Vicetto
2012-08-23 5:55 Jorge Manuel B. S. Vicetto
2012-08-23 5:55 Jorge Manuel B. S. Vicetto
2012-08-23 5:55 Jorge Manuel B. S. Vicetto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1387081036.27b751ffd9594e0128a3d70f83c7af18dab03838.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox