slitaz-forge diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tank/files/usr/bin/tank-bot Wed Mar 02 13:26:27 2011 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +sandbox=/home/slitaz/cooking/sandbox 1.7 + 1.8 +[ -d "$sandbox/proc/1" ] && exit 1.9 + 1.10 +mount -t proc proc $sandbox/proc 1.11 +mount -t sysfs sysfs $sandbox/sys 1.12 +mount -t devpts devpts $sandbox/dev/pts 1.13 +mount -t tmpfs shm $sandbox/dev/shm 1.14 + 1.15 +chroot $sandbox tank-bot 1.16 + 1.17 +umount $sandbox/dev/shm 1.18 +umount $sandbox/dev/pts 1.19 +umount $sandbox/sys 1.20 +umount $sandbox/proc 1.21 \ No newline at end of file