bitbake: bin/bitbake: add a check for /dev/shm existing
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 9 May 2013 10:22:26 +0000 (11:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2013 13:14:12 +0000 (14:14 +0100)
commit11d8532238466a787dcb7ceea978bc7670e2d655
tree3310399a99d098a482a4e27975f9750d1ca43507
parent14703db20f31b381bfe791de1e1270bd955d09f3
bitbake: bin/bitbake: add a check for /dev/shm existing

Python multiprocessing needs /dev/shm, and if it doesn't exist (e.g. in
a chroot environment) or is not writable, you'll get
"OSError: [Errno 38] Function not implemented" or
"OSError: [Errno 13] Permission denied" with a traceback, which doesn't
really help to explain what is wrong.

Implements [YOCTO #4407].

(Bitbake rev: e7460d01f281f913a94192e1f4bd20688164bdd4)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake