summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/bin/bitbake4
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"
45logger = logging.getLogger("BitBake") 45logger = logging.getLogger("BitBake")
46 46
47# Python multiprocessing requires /dev/shm 47# Python multiprocessing requires /dev/shm on Linux
48if not os.access('/dev/shm', os.W_OK | os.X_OK): 48if 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