diff options
-rwxr-xr-x | bitbake/bin/bitbake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index d46c3dde3b..49efdf1eb0 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
@@ -44,8 +44,8 @@ from bb import cookerdata | |||
44 | __version__ = "1.25.0" | 44 | __version__ = "1.25.0" |
45 | logger = logging.getLogger("BitBake") | 45 | logger = logging.getLogger("BitBake") |
46 | 46 | ||
47 | # Python multiprocessing requires /dev/shm | 47 | # Python multiprocessing requires /dev/shm on Linux |
48 | if not os.access('/dev/shm', os.W_OK | os.X_OK): | 48 | if sys.platform.startswith('linux') and not os.access('/dev/shm', os.W_OK | os.X_OK): |
49 | sys.exit("FATAL: /dev/shm does not exist or is not writable") | 49 | sys.exit("FATAL: /dev/shm does not exist or is not writable") |
50 | 50 | ||
51 | # Unbuffer stdout to avoid log truncation in the event | 51 | # Unbuffer stdout to avoid log truncation in the event |