Add mounting of /var/calculate/remote by cl-builder

master
Mike Hiretsky 14 years ago
parent 361e559bf4
commit fc5c260b9e

@ -5,6 +5,7 @@ CHANGE LOG
* The use of man-db when building systems.
* Added support Calculate Scratch Server.
* Set guest uid=1000.
* Addid the mounting of /var/calculate/remote by cl-builder.
1.3.12
* Fix creating format a digest file.

@ -27,7 +27,7 @@ else
REMOUNT="mount -t unionfs -o remount,dirs=/ unionfs /"
REMOUNTBUILDER=":"
fi
TIMERUN=`python -c "import time;print str(time.time())[:10]"`
TIMERUN=`date +%s`
EMERGELOG=${BUILDER}/var/log/emerge.log
TAILEMERGELOG="tail -f ${EMERGELOG}"
@ -50,9 +50,9 @@ watching() {
# Монтируем ресурсы
#------------------------------------------------------------------------------
mountres() {
mount -o bind /usr/calculate/share ${BUILDER}/usr/calculate/share &&
mount -t proc none ${BUILDER}/proc &&
mount -o bind /dev ${BUILDER}/dev &&
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
return 1

Loading…
Cancel
Save