|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
# cl-builder
|
|
|
|
|
# Copyright ©2009 Mir Calculate Ltd.
|
|
|
|
|
# Copyright ©2009 Calculate Ltd.
|
|
|
|
|
#
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
@ -51,7 +51,6 @@ watching() {
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
mountres() {
|
|
|
|
|
mount -o bind /var/calculate/remote ${BUILDER}/var/calculate/remote
|
|
|
|
|
mount -o bind /usr/calculate/share ${BUILDER}/usr/calculate/share
|
|
|
|
|
mount -t proc none ${BUILDER}/proc && mount -o bind /dev ${BUILDER}/dev &&
|
|
|
|
|
mount -t sysfs none ${BUILDER}/sys &&
|
|
|
|
|
mount -o bind /dev/pts ${BUILDER}/dev/pts && return 0
|
|
|
|
|