Commit 5dc3bb2b authored by Jakub Jirutka's avatar Jakub Jirutka

travis: bind /run and symlink /run/shm -> /dev/shm

This fixes problem with e.g. Python multiprocessing Queue - for POSIX
semaphores to work, the users need r/w access to shared memory
(/dev/shm).

See https://github.com/travis-ci/travis-cookbooks/issues/155
parent e32f6e22
......@@ -32,3 +32,6 @@ cp /etc/resolv.conf etc/resolv.conf
mount -t proc none proc
mount --rbind /sys sys
mount --rbind /dev dev
mount --rbind /run run
ln -sf /run/shm dev/shm
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment