tazwok annotate chroot-scripts/tank-bot @ rev 538

tazwok: Add $KBASEVER so if its set it will replace $VERSION. This fixes source version tarball name when using linux-patch $VERSION.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jun 15 15:27:05 2011 +0000 (2011-06-15)
parents d16b2ca09546
children 61b3b07955df
rev   line source
gokhlayeh@315 1 #!/bin/sh
gokhlayeh@315 2 # Automate common management tasks.
gokhlayeh@315 3
gokhlayeh@315 4 # Update repositories
pankso@336 5 if [ ! -d /var/lib/tazpkg/installed/mercurial ]; then
pankso@336 6 tazpkg get-install mercurial
pankso@336 7 fi
gokhlayeh@315 8 tazwok update-wok
pankso@336 9 . /etc/slitaz/slitaz.conf
pankso@336 10 . /etc/slitaz/tazwok.conf
pankso@319 11 LOCAL_REPOSITORY="$SLITAZ_DIR/${undigest:-$SLITAZ_VERSION}"
gokhlayeh@315 12 cd $LOCAL_REPOSITORY/flavors
slaxemulator@498 13 if [ ! -d .hg ]; then
slaxemulator@498 14 [ "$SLITAZ_VERSION" == "cooking" ] && hg clone http://hg.slitaz.org/flavors .
slaxemulator@498 15 [ "$SLITAZ_VERSION" == "stable" ] && hg clone http://hg.slitaz.org/flavors-stable .
slaxemulator@498 16 else
slaxemulator@498 17 hg pull -u
slaxemulator@498 18 fi
gokhlayeh@315 19 clean-chroot
gokhlayeh@315 20
gokhlayeh@315 21 tazwok cook-commit --missing
gokhlayeh@315 22 tazwok check-incoming