diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-07-02 15:20:50 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-07-02 17:58:57 +0100 |
commit | 15cbeaf0e297c87bfb9361f7fdc6deed51771569 (patch) | |
tree | 536e6a58a9518bf7c817772abcf38594d7490345 /baserock-bootstrap | |
parent | 1b1e2258439022ddd215f4fcf5a86b0b5e7cbc6d (diff) | |
download | morph-15cbeaf0e297c87bfb9361f7fdc6deed51771569.tar.gz |
baserock-bootstrap: remove update-gits loop
This should no longer be needed, since gitano on our own server is
more stable and faster than gitorious.org was for us.
Ideally we would have update-gits have a set of repositories to
update and if one fails, increment the fail count and move on to
the next if it hasn't exceeded the retries limit.
Diffstat (limited to 'baserock-bootstrap')
-rwxr-xr-x | baserock-bootstrap | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/baserock-bootstrap b/baserock-bootstrap index ccaf643a..0d1aaa85 100755 --- a/baserock-bootstrap +++ b/baserock-bootstrap @@ -67,16 +67,13 @@ pass1_get_sources_with_morph() { cd $LFS/baserock/gits/morph $HOST_MKDIR -p $LFS/baserock/cache - while ! python ./morph --verbose update-gits \ + python ./morph --verbose update-gits \ baserock:morphs master bootstrap-pass1.morph \ --cachedir=$LFS/baserock/cache \ --log=$LFS/baserock/morph.log \ --dump-memory-profile=none \ --keep-path \ --bundle-server="$GIT_BUNDLES" - do - echo eeekk try again - done } pass1_build_with_morph() @@ -178,17 +175,14 @@ set -x cd /baserock/gits/morph mkdir -p /baserock/cache export PATH="/usr/bin:/bin:$tools/bin:$tools/sbin" -while ! python ./morph --verbose update-gits \ +python ./morph --verbose update-gits \ baserock:morphs master bootstrap-pass2.morph \ - --bootstrap \ - --cachedir=/baserock/cache \ - --log=/baserock/morph.log \ - --dump-memory-profile=none \ - --keep-path \ - --bundle-server="$GIT_BUNDLES" -do - echo eeekk try again -done + --bootstrap \ + --cachedir=/baserock/cache \ + --log=/baserock/morph.log \ + --dump-memory-profile=none \ + --keep-path \ + --bundle-server="$GIT_BUNDLES" EOF $HOST_CHMOD +x "$LFS/baserock/build.sh" local do_chroot="$BASEDIR/do-chroot.bash" @@ -334,16 +328,13 @@ set -e set -x cd /baserock/gits/morph -while ! python ./morph --verbose update-gits \ +python ./morph --verbose update-gits \ baserock:morphs master $PASS3_STRATUM \ - --cachedir=/baserock/cache \ - --log=/baserock/morph.log \ - --dump-memory-profile=none \ - --keep-path \ - --bundle-server="$GIT_BUNDLES" -do - echo eeekk try again -done + --cachedir=/baserock/cache \ + --log=/baserock/morph.log \ + --dump-memory-profile=none \ + --keep-path \ + --bundle-server="$GIT_BUNDLES" EOF $HOST_CHMOD +x "$LFS/baserock/build.sh" local do_chroot="$BASEDIR/do-chroot.bash" |