#!/bin/bash
# $Id$
# $URL$
-hostname=$(hostname)
-hostname=$(basename $hostname .inria.fr)
-function liquid () { [ $hostname = liquid ] ; }
-function reed () { [ $hostname = reed ] ; }
-function velvet () { [ $hostname = velvet ] ; }
+function liquid () { [ $(basename $(hostname) .inria.fr) = liquid ] ; }
+function reed () { [ $(basename $(hostname) .inria.fr) = reed ] ; }
+function velvet () { [ $(basename $(hostname) .inria.fr) = velvet ] ; }
### f12 bootstrap : 2.6.31, util-vserver and yum, for a plain fedora 12 build or test box
+# enable on a need-by-need basis
# liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux64 -b @DATE@--f12-f12-64
# liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d f12 -f f12 -p linux32 -b @DATE@--f12-f12-32
### old 2.6.22 kernel on f12
-liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux32 -b @DATE@--1l-f12-32
-liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux64 -b @DATE@--1l-f12-64 -B
+# using the old 39-1 tag, has no support for the getline patch, thus broken on f12
+# liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux32 -b @DATE@--1l-f12-32
+# liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -f f12 -p linux64 -b @DATE@--1l-f12-64 -B
# 2.6.27 kernel on f12
liquid && /root/bin/vbuild-nightly.sh -m build@onelab.eu -d onelab -t onelab-k27-tags.mk -f f12 -p linux32 -b @DATE@--k27-f12-32