diff options
| -rwxr-xr-x | bitbake/bin/bitbake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index e05ff5bd38..1f9bbc4039 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake | |||
| @@ -43,6 +43,10 @@ from bb import server | |||
| 43 | __version__ = "1.19.0" | 43 | __version__ = "1.19.0" |
| 44 | logger = logging.getLogger("BitBake") | 44 | logger = logging.getLogger("BitBake") |
| 45 | 45 | ||
| 46 | # Python multiprocessing requires /dev/shm | ||
| 47 | if not os.access('/dev/shm', os.W_OK | os.X_OK): | ||
| 48 | sys.exit("FATAL: /dev/shm does not exist or is not writable") | ||
| 49 | |||
| 46 | # Unbuffer stdout to avoid log truncation in the event | 50 | # Unbuffer stdout to avoid log truncation in the event |
| 47 | # of an unorderly exit as well as to provide timely | 51 | # of an unorderly exit as well as to provide timely |
| 48 | # updates to log files for use with tail | 52 | # updates to log files for use with tail |
