OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 26-Jan-2005 10:40:54
Branch: HEAD Handle: 2005012609405400
Modified files:
openpkg-tools/cmd bf-mk.pl
Log:
set screen window title; set build TMP to local/large temporary disk
space
Summary:
Revision Changes Path
1.3 +8 -4 openpkg-tools/cmd/bf-mk.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/bf-mk.pl
============================================================================
$ cvs diff -u -r1.2 -r1.3 bf-mk.pl
--- openpkg-tools/cmd/bf-mk.pl 26 Jan 2005 08:09:39 -0000 1.2
+++ openpkg-tools/cmd/bf-mk.pl 26 Jan 2005 09:40:54 -0000 1.3
@@ -423,6 +423,10 @@
## any configuration change. Manual edits are a waste of time.
##
+#main()
+HOST=`%{driver.hostname} | %{driver.sed} -e 's;\..*$;;'`
+if [ ".$TERM" = .screen ]; then %{driver.shtool} echo -n "k$HOST
[MASTER]\\"; fi
+
exec %{master.bfmk} "$@"
EOT
return &subst($cfg, $txt);
@@ -474,7 +478,7 @@
LOG="%{shared.prefix}/log/$HOST-$ARCH-$OS" \
SRC="%{shared.prefix}/src/$HOST-$ARCH-$OS" \
DST="%{shared.prefix}/dst/$HOST-$ARCH-$OS" \
- TMP="%{shared.prefix}/tmp/$HOST-$ARCH-$OS" \
+ TMP="%{slaves.ltmp}/$HOST-$ARCH-$OS" \
EXEC_BFDB="%{slaves.bfdb}" \
EXEC_ROOT="%{driver.sudo}" \
EXEC_HOST="$HOST" \
@@ -487,7 +491,7 @@
LOG="%{shared.prefix}/log/$HOST-$ARCH-$OS" \
SRC="%{shared.prefix}/src/$HOST-$ARCH-$OS" \
DST="%{shared.prefix}/dst/$HOST-$ARCH-$OS" \
- TMP="%{shared.prefix}/tmp/$HOST-$ARCH-$OS" \
+ TMP="%{slaves.ltmp}/$HOST-$ARCH-$OS" \
EXEC_BFDB="%{slaves.bfdb}" \
EXEC_ROOT="%{driver.sudo}" \
EXEC_HOST="$HOST" \
@@ -538,6 +542,7 @@
HOST=`%{driver.hostname} | %{driver.sed} -e 's;\..*$;;'`
ARCH=`%{slaves.rpm} --eval '%{l_host_arch}'`
OS=`%{slaves.rpm} --eval '%{l_host_os}'`
+if [ ".$TERM" = .screen ]; then %{driver.shtool} echo -n
"k$HOST-$ARCH-$OS\\"; fi
cmd=""
if [ ".$1" = ".-1" -o ".$1" = ".--oneshot" ]; then cmd="oneshot"; fi
@@ -619,8 +624,7 @@
#main()
HOST=`%{driver.hostname} | %{driver.sed} -e 's;\..*$;;'`
-ARCH=`%{slaves.rpm} --eval '%{l_host_arch}'`
-OS=`%{slaves.rpm} --eval '%{l_host_os}'`
+if [ ".$TERM" = .screen ]; then %{driver.shtool} echo -n "k$HOST
[WORKER]\\"; fi
cmd=""
if [ ".$1" = ".-a" -o ".$1" = ".--attach" ]; then cmd="attach"; fi
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]