Add /dev/shm for sysc

This allows named semaphores to be created. See sem_overview(7).
This commit is contained in:
Dor Askayo 2023-02-01 22:17:12 +02:00
parent d83f810773
commit 74c852b166
3 changed files with 11 additions and 6 deletions

View file

@ -184,6 +184,7 @@ print(shutil.which('chroot'))
'--dev-bind', '/dev/zero', '/sysc_image/dev/zero',
'--dev-bind', '/dev/random', '/sysc_image/dev/random',
'--dev-bind', '/dev/urandom', '/sysc_image/dev/urandom',
'--tmpfs', '/sysc_image/dev/shm',
'--proc', '/sysc_image/proc',
'--bind', '/sys', '/sysc_image/sys',
'--tmpfs', '/sysc_image/tmp',