public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/releng:master commit in: tools-uclibc/
Date: Mon, 18 Aug 2014 21:59:40 +0000 (UTC)	[thread overview]
Message-ID: <1408277927.2471ba95b3d0163ceef09a9b86baeade2599abc7.robbat2@gentoo> (raw)

commit:     2471ba95b3d0163ceef09a9b86baeade2599abc7
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 17 12:18:47 2014 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 12:18:47 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=2471ba95

tools-uclibc/run-ppc.sh: use common code

---
 tools-uclibc/run-ppc.sh | 52 +------------------------------------------------
 1 file changed, 1 insertion(+), 51 deletions(-)

diff --git a/tools-uclibc/run-ppc.sh b/tools-uclibc/run-ppc.sh
index c188f10..65c2a38 100755
--- a/tools-uclibc/run-ppc.sh
+++ b/tools-uclibc/run-ppc.sh
@@ -1,8 +1,6 @@
 #!/bin/bash
 
-source /etc/catalyst/catalyst.conf
-
-mydate=`date +%Y%m%d`
+source common.sh
 
 prepare_confs() {
   local arch=$1
@@ -37,54 +35,6 @@ prepare_confs() {
   sed -i "/^chost/d" stage3-${arch}-uclibc-${flavor}.conf
 }
 
-banner() {
-cat << EOF | tee -a zzz.log > stage$1-$2-uclibc-$3.log
-
-************************************************************************
-*    stage$1-$2-uclibc-$3
-************************************************************************"
-
-EOF
-}
-
-
-do_stages() {
-  local arch=$1
-  local flavor=$2
-
-  for s in 1 2 3; do
-    local tgpath="${storedir}/builds/uclibc/${flavor}/${arch}"
-    local target="stage${s}-${arch}-uclibc-${flavor}-${mydate}.tar.bz2"
-    local tglink="stage${s}-${arch}-uclibc-${flavor}.tar.bz2"
-
-    if [[ ! -f "${tgpath}/${tglink}" ]]; then
-       touch stage${s}-${arch}-uclibc-${flavor}.log
-       echo "!!! ${target} at ${tgpath} doesn't exit" \
-         | tee -a zzz.log \
-         > stage${s}-${arch}-uclibc-${flavor}.err
-       return 1
-    fi
-
-    banner ${s} ${arch} ${flavor}
-    catalyst -f stage${s}-${arch}-uclibc-${flavor}.conf \
-      | tee -a zzz.log \
-      > stage${s}-${arch}-uclibc-${flavor}.log \
-      2> stage${s}-${arch}-uclibc-${flavor}.err
-
-    if [[ -f "${tgpath}/${target}" ]]; then
-      rm -f "${tgpath}/${tglink}"
-      ln -s ${target} "${tgpath}/${tglink}"
-    else
-      echo "!!! ${target} was not generated" \
-        | tee -a zzz.log \
-        >stage${s}-${arch}-uclibc-${flavor}.err
-      return 1
-    fi
-  done
-
-  return 0
-}
-
 
 main() {
   >zzz.log


             reply	other threads:[~2014-08-18 22:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18 21:59 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-02 16:25 [gentoo-commits] proj/releng:master commit in: tools-uclibc/ Anthony G. Basile
2017-06-07 10:25 Anthony G. Basile
2014-08-18 21:59 Robin H. Johnson
2014-08-17 12:16 Anthony G. Basile
2014-08-12 15:04 Anthony G. Basile
2014-06-12 15:50 Anthony G. Basile
2014-06-12 15:30 Anthony G. Basile
2013-07-15 21:25 Anthony G. Basile
2013-06-14 13:28 Anthony G. Basile
2013-05-09 21:41 Anthony G. Basile
2013-05-09 21:11 Anthony G. Basile
2013-03-27 23:23 Anthony G. Basile
2013-03-10 14:57 Anthony G. Basile
2013-03-10 14:50 Anthony G. Basile
2013-02-03 14:46 Anthony G. Basile
2013-02-03 14:45 Anthony G. Basile
2012-12-31  9:59 Anthony G. Basile
2012-12-29  3:56 Anthony G. Basile
2012-12-28 18:08 Anthony G. Basile
2012-12-28 15:50 Anthony G. Basile
2012-11-15 20:33 Anthony G. Basile
2012-11-14 22:47 Anthony G. Basile
2012-11-01  2:41 Anthony G. Basile
2012-10-27 22:37 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1408277927.2471ba95b3d0163ceef09a9b86baeade2599abc7.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox