|
@@ -11,7 +11,7 @@ cow-dist () {
|
|
|
echo "Error args."
|
|
|
return
|
|
|
fi
|
|
|
- DIST=$1
|
|
|
+ DIST=${1}
|
|
|
shift
|
|
|
OPTS=
|
|
|
if [ "$1" = "--update" ]; then
|
|
@@ -25,7 +25,13 @@ cow-dist () {
|
|
|
fi
|
|
|
fi
|
|
|
fi
|
|
|
- sudo DIST=$DIST cowbuilder $@ $OPTS
|
|
|
+ WRAPPER=
|
|
|
+ if echo ${DIST} | grep -q \^sid ; then
|
|
|
+ if [ -x "$(which eatmydata)" ]; then
|
|
|
+ WRAPPER="eatmydata"
|
|
|
+ fi
|
|
|
+ fi
|
|
|
+ time sudo -E DIST=${DIST} ${WRAPPER} cowbuilder $@ ${OPTS}
|
|
|
return $?
|
|
|
}
|
|
|
|
|
@@ -33,6 +39,7 @@ alias cow-sid32="cow-dist sid-32"
|
|
|
alias cow-stable32="cow-dist stable-32"
|
|
|
alias cow-exp64="cow-dist experimental-64"
|
|
|
alias cow-sid64="cow-dist sid-64"
|
|
|
+alias cow-testing64="cow-dist testing-64"
|
|
|
alias cow-stable64="cow-dist stable-64"
|
|
|
alias cow-stablebpo="cow-dist stable-bpo-64"
|
|
|
|