From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/, catalyst/base/
Date: Sun, 20 Oct 2019 00:00:44 +0000 (UTC) [thread overview]
Message-ID: <1571529608.2e91db10c272e3943b768573b27477bca02e53d3.mattst88@gentoo> (raw)
commit: 2e91db10c272e3943b768573b27477bca02e53d3
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 23:55:46 2019 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 00:00:08 2019 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=2e91db10
Mount tmpfs at /run
Closes: https://bugs.gentoo.org/659238
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
catalyst/base/stagebase.py | 3 +++
catalyst/defaults.py | 2 ++
2 files changed, 5 insertions(+)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 2ad53381..85e30450 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -232,6 +232,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
if os.uname()[0] == "Linux":
self.mounts.append("devpts")
self.mounts.append("shm")
+ self.mounts.append("run")
self.set_mounts()
@@ -977,6 +978,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
_cmd = ['mount', '-t', 'tmpfs',
'-o', 'size=' + self.settings['var_tmpfs_portage'] + 'G',
src, target]
+ else:
+ _cmd = ['mount', '-t', 'tmpfs', src, target]
else:
if os.uname()[0] == "FreeBSD":
if src == "/dev":
diff --git a/catalyst/defaults.py b/catalyst/defaults.py
index f2fe29df..cb5f84e3 100644
--- a/catalyst/defaults.py
+++ b/catalyst/defaults.py
@@ -91,6 +91,7 @@ TARGET_MOUNT_DEFAULTS = {
"port_logdir": "/var/log/portage",
"proc": "/proc",
"shm": "/dev/shm",
+ "run": "/run",
}
SOURCE_MOUNT_DEFAULTS = {
@@ -101,6 +102,7 @@ SOURCE_MOUNT_DEFAULTS = {
"port_tmpdir": "tmpfs",
"proc": "/proc",
"shm": "shmfs",
+ "run": "tmpfs",
}
# legend: key: message
next reply other threads:[~2019-10-20 0:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-20 0:00 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-18 19:53 [gentoo-commits] proj/catalyst:pending/mattst88 commit in: catalyst/, catalyst/base/ Matt Turner
2020-11-14 16:37 ` [gentoo-commits] proj/catalyst:master " Matt Turner
2020-12-19 19:56 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-11-14 16:37 ` [gentoo-commits] proj/catalyst:master " Matt Turner
2020-05-16 6:43 Matt Turner
2020-04-22 5:52 Matt Turner
2020-04-13 20:43 Matt Turner
2020-04-10 21:04 Matt Turner
2015-10-11 17:26 Mike Frysinger
2015-10-09 2:40 Mike Frysinger
2015-10-09 2:40 Mike Frysinger
2015-10-06 15:31 Mike Frysinger
2015-09-09 15:22 Brian Dolbec
2015-05-21 23:53 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2015-05-24 0:08 ` [gentoo-commits] proj/catalyst:master " Brian Dolbec
2015-02-26 22:18 Brian Dolbec
2015-01-01 5:59 [gentoo-commits] proj/catalyst:pending commit in: catalyst/base/, catalyst/ Brian Dolbec
2015-02-26 20:12 ` [gentoo-commits] proj/catalyst:master commit in: catalyst/, catalyst/base/ Brian Dolbec
2015-01-01 5:59 [gentoo-commits] proj/catalyst:pending " Brian Dolbec
2015-02-26 4:12 ` [gentoo-commits] proj/catalyst:master " 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=1571529608.2e91db10c272e3943b768573b27477bca02e53d3.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