From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/base/
Date: Tue, 31 Dec 2013 10:48:40 +0000 (UTC) [thread overview]
Message-ID: <1388485271.0b9b7c9e631b29395d40c630d141513e6e897028.dol-sen@gentoo> (raw)
commit: 0b9b7c9e631b29395d40c630d141513e6e897028
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 31 09:07:30 2013 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Tue Dec 31 10:21:11 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=0b9b7c9e
Conditionally add keepwork option to action sequence
---
catalyst/base/stagebase.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index a196c36..09a29a0 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -501,7 +501,13 @@ class StageBase(TargetBase, ClearBase, GenBase):
# "fetch" not in self.settings["options"]:
if "fetch" not in self.settings["options"]:
self.settings["action_sequence"].append("capture")
- self.settings["action_sequence"].append("clear_autoresume")
+ if "keepwork" in self.settings["options"]:
+ self.settings["action_sequence"].append("clear_autoresume")
+ elif "seedcache" in self.settings["options"]:
+ self.settings["action_sequence"].append("remove_autoresume")
+ else:
+ self.settings["action_sequence"].append("remove_autoresume")
+ self.settings["action_sequence"].append("remove_chroot")
def set_use(self):
if self.settings["spec_prefix"]+"/use" in self.settings:
next reply other threads:[~2013-12-31 10:48 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-31 10:48 Brian Dolbec [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-04-18 16:52 [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/base/ Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 15:53 Brian Dolbec
2014-04-05 7:39 Brian Dolbec
2014-04-05 7:31 Brian Dolbec
2014-03-04 1:57 Brian Dolbec
2014-03-01 18:51 Brian Dolbec
2014-02-19 17:47 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2014-01-22 5:04 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
2013-12-31 10:48 Brian Dolbec
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=1388485271.0b9b7c9e631b29395d40c630d141513e6e897028.dol-sen@gentoo \
--to=brian.dolbec@gmail.com \
--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