From fc5c260b9e27435e63af7a38c0cb334346765c6f Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Thu, 10 Jun 2010 16:59:36 +0400 Subject: [PATCH] Add mounting of /var/calculate/remote by cl-builder --- Change.log | 1 + install/cl-builder | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Change.log b/Change.log index 28acd55..d1d5aed 100644 --- a/Change.log +++ b/Change.log @@ -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. diff --git a/install/cl-builder b/install/cl-builder index d2a9b76..eed6b36 100755 --- a/install/cl-builder +++ b/install/cl-builder @@ -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