* [PATCH] bitbake: only check that /dev/shm is writable on Linux
@ 2015-01-21 14:13 Ross Burton
2015-01-21 18:22 ` Trevor Woerner
0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2015-01-21 14:13 UTC (permalink / raw)
To: bitbake-devel
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
bitbake/bin/bitbake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index d46c3dd..49efdf1 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -44,8 +44,8 @@ from bb import cookerdata
__version__ = "1.25.0"
logger = logging.getLogger("BitBake")
-# Python multiprocessing requires /dev/shm
-if not os.access('/dev/shm', os.W_OK | os.X_OK):
+# Python multiprocessing requires /dev/shm on Linux
+if sys.platform.startswith('linux') and not os.access('/dev/shm', os.W_OK | os.X_OK):
sys.exit("FATAL: /dev/shm does not exist or is not writable")
# Unbuffer stdout to avoid log truncation in the event
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] bitbake: only check that /dev/shm is writable on Linux
2015-01-21 14:13 [PATCH] bitbake: only check that /dev/shm is writable on Linux Ross Burton
@ 2015-01-21 18:22 ` Trevor Woerner
2015-01-21 21:07 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Trevor Woerner @ 2015-01-21 18:22 UTC (permalink / raw)
To: Ross Burton, bitbake-devel
On 01/21/15 09:13, Ross Burton wrote:
> -# Python multiprocessing requires /dev/shm
> -if not os.access('/dev/shm', os.W_OK | os.X_OK):
> +# Python multiprocessing requires /dev/shm on Linux
> +if sys.platform.startswith('linux') and not os.access('/dev/shm', os.W_OK | os.X_OK):
Cool! On what other platforms does bitbake work?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bitbake: only check that /dev/shm is writable on Linux
2015-01-21 18:22 ` Trevor Woerner
@ 2015-01-21 21:07 ` Burton, Ross
0 siblings, 0 replies; 3+ messages in thread
From: Burton, Ross @ 2015-01-21 21:07 UTC (permalink / raw)
To: Trevor Woerner; +Cc: bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
On 21 January 2015 at 18:22, Trevor Woerner <twoerner@gmail.com> wrote:
> Cool! On what other platforms does bitbake work?
>
I've been experimenting with OS X. I'm not sure I'd use the word "work".
Well, bitbake works - but oe-core can't bootstrap the toolchain.
(poky-contrib:ross/darwin)
Ross
[-- Attachment #2: Type: text/html, Size: 746 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-21 21:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 14:13 [PATCH] bitbake: only check that /dev/shm is writable on Linux Ross Burton
2015-01-21 18:22 ` Trevor Woerner
2015-01-21 21:07 ` Burton, Ross
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.