From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:3.0 commit in: catalyst/, catalyst/base/
Date: Fri, 18 Apr 2014 16:52:24 +0000 (UTC) [thread overview]
Message-ID: <1397839836.9e6bcc4b78172611430db8b981b2ce1b23a59263.dol-sen@gentoo> (raw)
commit: 9e6bcc4b78172611430db8b981b2ce1b23a59263
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 09:03:14 2013 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Apr 18 16:50:36 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=9e6bcc4b
Fix mounts and mountmap port_logdir code block.
Conflicts:
catalyst/base/stagebase.py
---
catalyst/base/stagebase.py | 9 +++++----
catalyst/defaults.py | 3 +++
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 2cce2f7..aa9be38 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -13,7 +13,8 @@ from catalyst.support import (CatalystError, msg, file_locate, normpath,
from catalyst.base.targetbase import TargetBase
from catalyst.base.clearbase import ClearBase
from catalyst.base.genbase import GenBase
-from catalyst.defaults import TARGET_MOUNT_DEFAULTS, SOURCE_MOUNT_DEFAULTS
+from catalyst.defaults import (TARGET_MOUNT_DEFAULTS, SOURCE_MOUNT_DEFAULTS,
+ PORT_LOGDIR_CLEAN)
from catalyst.lock import LockDir
from catalyst.fileops import ensure_dirs, pjoin
from catalyst.base.resume import AutoResume
@@ -253,9 +254,9 @@ class StageBase(TargetBase, ClearBase, GenBase):
if "port_logdir" in self.settings:
self.mounts.append("port_logdir")
- self.mountmap["port_logdir"]=self.settings["port_logdir"]
- self.env["PORT_LOGDIR"]=self.settings["port_logdir"]
- self.env["PORT_LOGDIR_CLEAN"]='find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +30 -delete'
+ self.mountmap["port_logdir"] = self.settings["port_logdir"]
+ self.env["PORT_LOGDIR"] = self.settings["port_logdir"]
+ self.env["PORT_LOGDIR_CLEAN"] = PORT_LOGDIR_CLEAN
def override_cbuild(self):
if "CBUILD" in self.makeconf:
diff --git a/catalyst/defaults.py b/catalyst/defaults.py
index 1f86c1d..59941ee 100644
--- a/catalyst/defaults.py
+++ b/catalyst/defaults.py
@@ -105,6 +105,9 @@ SOURCE_MOUNT_DEFAULTS = {
"shm": "shmfs",
}
+PORT_LOGDIR_CLEAN = \
+ 'find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +30 -delete'
+
# legend: key: message
option_messages = {
"autoresume": "Autoresuming support enabled.",
next reply other threads:[~2014-04-18 16:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-18 16:52 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/, catalyst/base/ Brian Dolbec
2014-04-18 16:52 Brian Dolbec
2014-04-18 16:52 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
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=1397839836.9e6bcc4b78172611430db8b981b2ce1b23a59263.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