Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 509214 Details for
Bug 363577
any stages build fails on Gentoo/FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
catalyst-3.0.0 tmpfs part.
file_363577.txt (text/plain), 1.53 KB, created by
Yuta SATOH
on 2017-12-10 10:56:27 UTC
(
hide
)
Description:
catalyst-3.0.0 tmpfs part.
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2017-12-10 10:56:27 UTC
Size:
1.53 KB
patch
obsolete
>diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py >index 7a41973c..ed588869 100644 >--- a/catalyst/base/stagebase.py >+++ b/catalyst/base/stagebase.py >@@ -954,21 +954,22 @@ class StageBase(TargetBase, ClearBase, GenBase): > if "snapcache" in self.settings["options"] and x == "portdir": > self.snapcache_lock.read_lock() > _cmd = None >- if os.uname()[0] == "FreeBSD": >- if src == "/dev": >- _cmd = ['mount', '-t', 'devfs', 'none', target] >- else: >- _cmd = ['mount_nullfs', src, target] >+ if src == "tmpfs": >+ if "var_tmpfs_portage" in self.settings: >+ _cmd = ['mount', '-t', 'tmpfs', >+ '-o', 'size=' + self.settings['var_tmpfs_portage'] + 'G', >+ src, target] > else: >- if src == "tmpfs": >- if "var_tmpfs_portage" in self.settings: >- _cmd = ['mount', '-t', 'tmpfs', >- '-o', 'size=' + self.settings['var_tmpfs_portage'] + 'G', >- src, target] >- elif src == "shmfs": >- _cmd = ['mount', '-t', 'tmpfs', '-o', 'noexec,nosuid,nodev', 'shm', target] >+ if os.uname()[0] == "FreeBSD": >+ if src == "/dev": >+ _cmd = ['mount', '-t', 'devfs', 'none', target] >+ else: >+ _cmd = ['mount_nullfs', src, target] > else: >- _cmd = ['mount', '--bind', src, target] >+ if src == "shmfs": >+ _cmd = ['mount', '-t', 'tmpfs', '-o', 'noexec,nosuid,nodev', 'shm', target] >+ else: >+ _cmd = ['mount', '--bind', src, target] > if _cmd: > log.debug('bind(); _cmd = %s', _cmd) > cmd(_cmd, env=self.env, fail_func=self.unbind)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 363577
:
269931
|
269933
|
269935
|
305721
|
305725
|
314077
|
314079
|
326448
|
330332
|
357332
|
425186
|
425188
|
425196
|
425294
|
425296
|
509212
| 509214 |
509216
|
509218
|
509224