slitaz-forge view tank/files/usr/bin/tank-bot @ rev 28

Moved all receipts for scn/receipts folder. This is to keep thing neat in this repo.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 13:26:27 2011 +0000 (2011-03-02)
parents
children
line source
1 #!/bin/sh
3 sandbox=/home/slitaz/cooking/sandbox
5 [ -d "$sandbox/proc/1" ] && exit
7 mount -t proc proc $sandbox/proc
8 mount -t sysfs sysfs $sandbox/sys
9 mount -t devpts devpts $sandbox/dev/pts
10 mount -t tmpfs shm $sandbox/dev/shm
12 chroot $sandbox tank-bot
14 umount $sandbox/dev/shm
15 umount $sandbox/dev/pts
16 umount $sandbox/sys
17 umount $sandbox/proc