From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/, catalyst/base/ Date: Sat, 16 May 2020 06:43:34 +0000 (UTC) [thread overview] Message-ID: <1589524294.111f8243f3261d8cb0871b6f4b2087d7ce5e9b69.mattst88@gentoo> (raw) commit: 111f8243f3261d8cb0871b6f4b2087d7ce5e9b69 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Fri May 15 06:16:28 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Fri May 15 06:31:34 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=111f8243 catalyst: Rename shmfs -> shm This will allow us to factor out the ['source', 'target'] from each case. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> catalyst/base/stagebase.py | 4 ++-- catalyst/defaults.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 68945da8..52f9cd5b 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -864,9 +864,9 @@ class StageBase(TargetBase, ClearBase, GenBase): target] elif source == 'tmpfs': _cmd = ['mount', '-t', 'tmpfs', source, target] - elif source == 'shmfs': + elif source == 'shm': _cmd = ['mount', '-t', 'tmpfs', '-o', 'noexec,nosuid,nodev', - 'shm', target] + source, target] else: _cmd = ['mount', source, target] diff --git a/catalyst/defaults.py b/catalyst/defaults.py index 9d5771d5..404f4892 100644 --- a/catalyst/defaults.py +++ b/catalyst/defaults.py @@ -99,7 +99,7 @@ MOUNT_DEFAULTS = OrderedDict([ }), ('shm', { 'enable': True, - 'source': 'shmfs', + 'source': 'shm', 'target': '/dev/shm', }), ('run', {
WARNING: multiple messages have this Message-ID (diff)
From: "Matt Turner" <mattst88@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/catalyst:pending/mattst88 commit in: catalyst/base/, catalyst/ Date: Fri, 15 May 2020 06:32:00 +0000 (UTC) [thread overview] Message-ID: <1589524294.111f8243f3261d8cb0871b6f4b2087d7ce5e9b69.mattst88@gentoo> (raw) Message-ID: <20200515063200.lU_iBHKS49zI-7SssKAEZyC2gNJPBQDPMe1YWb47FTI@z> (raw) commit: 111f8243f3261d8cb0871b6f4b2087d7ce5e9b69 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Fri May 15 06:16:28 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Fri May 15 06:31:34 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=111f8243 catalyst: Rename shmfs -> shm This will allow us to factor out the ['source', 'target'] from each case. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> catalyst/base/stagebase.py | 4 ++-- catalyst/defaults.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index 68945da8..52f9cd5b 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -864,9 +864,9 @@ class StageBase(TargetBase, ClearBase, GenBase): target] elif source == 'tmpfs': _cmd = ['mount', '-t', 'tmpfs', source, target] - elif source == 'shmfs': + elif source == 'shm': _cmd = ['mount', '-t', 'tmpfs', '-o', 'noexec,nosuid,nodev', - 'shm', target] + source, target] else: _cmd = ['mount', source, target] diff --git a/catalyst/defaults.py b/catalyst/defaults.py index 9d5771d5..404f4892 100644 --- a/catalyst/defaults.py +++ b/catalyst/defaults.py @@ -99,7 +99,7 @@ MOUNT_DEFAULTS = OrderedDict([ }), ('shm', { 'enable': True, - 'source': 'shmfs', + 'source': 'shm', 'target': '/dev/shm', }), ('run', {
next reply other threads:[~2020-05-16 6:43 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-16 6:43 Matt Turner [this message] 2020-05-15 6:32 ` [gentoo-commits] proj/catalyst:pending/mattst88 commit in: catalyst/base/, catalyst/ Matt Turner -- 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-04-22 5:52 Matt Turner 2020-04-13 20:43 Matt Turner 2020-04-10 21:04 Matt Turner 2019-10-20 0:00 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 " Brian Dolbec 2015-02-26 4:12 ` [gentoo-commits] proj/catalyst:master " 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
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=1589524294.111f8243f3261d8cb0871b6f4b2087d7ce5e9b69.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: linkBe 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