diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-10 22:12:48 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-10 22:13:00 (GMT) |
commit | 412779a29d766cb2832380e550db490356b67569 (patch) | |
tree | 82fc57e8944271b313b9e6eb582ce551feb2cf4c /templates/enter_dev_chroot.sh | |
parent | 8730ff5dfffcb615d4aeebbba08127f681fe2d93 (diff) | |
parent | 25d0595ebdeb9426957445336170919d22344e4d (diff) | |
download | linhes_dev-412779a29d766cb2832380e550db490356b67569.zip |
Merge remote-tracking branch 'origin/testing' into testing
Diffstat (limited to 'templates/enter_dev_chroot.sh')
-rwxr-xr-x | templates/enter_dev_chroot.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/enter_dev_chroot.sh b/templates/enter_dev_chroot.sh index 9eda528..b3c27d6 100755 --- a/templates/enter_dev_chroot.sh +++ b/templates/enter_dev_chroot.sh @@ -61,7 +61,7 @@ cleanUp() { # no arguments # unmount all: local mnts1="data/$repoBaseDir data/$packageDir build_tools" - local mnts2="dev/pts sys proc" + local mnts2=" dev dev/pts sys proc" for i in $mnts1 $mnts2 ; do grep -q $BROOT/$i /proc/mounts && { echo -e "unMounting ${C_B}$i${C_N}" @@ -123,12 +123,13 @@ trap cleanUp 1 2 15 EXIT ckMount -t proc proc ckMount -t sysfs sys -ckMount -t devpts dev/pts +mount --bind /dev $BROOT/dev +#ckMount -t devpts dev/pts -[ -e dev/random ] || mknod dev/random c 1 8 -[ -e dev/urandom ] || mknod dev/urandom c 1 9 -[ -e dev/tty ] || mknod dev/tty c 5 0 -[ -e dev/ptmx ] || mknod dev/ptmx c 5 2 +#[ -e dev/random ] || mknod dev/random c 1 8 +#[ -e dev/urandom ] || mknod dev/urandom c 1 9 +#[ -e dev/tty ] || mknod dev/tty c 5 0 +#[ -e dev/ptmx ] || mknod dev/ptmx c 5 2 ckMount --bind $toolsDir/build_tools build_tools ckMount --bind $packageDir data/$packageDir |