Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/releng:master commit in: tools/
Date: Sun, 16 Sep 2018 15:24:00
Message-Id: 1537111406.f2398d0b731cfbfddacdf90ce62a57b81f8607ec.mattst88@gentoo
1 commit: f2398d0b731cfbfddacdf90ce62a57b81f8607ec
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 16 15:23:26 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 16 15:23:26 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=f2398d0b
7
8 catalyst-auto: Build ppc and ppc64 stages from catalyst-auto-ppc.conf
9
10 tools/catalyst-auto-ppc.conf | 20 +++++++++++++++-----
11 1 file changed, 15 insertions(+), 5 deletions(-)
12
13 diff --git a/tools/catalyst-auto-ppc.conf b/tools/catalyst-auto-ppc.conf
14 index c5d09d09..656ee88d 100644
15 --- a/tools/catalyst-auto-ppc.conf
16 +++ b/tools/catalyst-auto-ppc.conf
17 @@ -1,14 +1,14 @@
18 # This is the config file for the catalyst-auto script. It should be pretty
19 # self-explanatory.
20
21 -SPECS_DIR=${REPO_DIR}/releases/weekly/specs/ppc/ppc32
22 +SPECS_DIR=${REPO_DIR}/releases/weekly/specs/ppc
23
24 -SPECS="stage1.spec stage3.spec"
25 +SPECS="ppc32/stage1.spec ppc32/stage3.spec ppc64/stage1.spec ppc64/stage3.spec"
26 #SPECS="${SPECS} installcd-stage1.spec installcd-stage2-minimal.spec"
27 #SPECS="${SPECS} stage2-desktop.spec stage3-desktop.spec"
28 #SPECS="${SPECS} livecd-stage1.spec livecd-stage2.spec"
29
30 -OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
31 +OPTIONAL_SPECS="ppc/installcd-stage1.spec ppc/installcd-stage2-minimal.spec"
32
33 KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/powerpc
34
35 @@ -36,12 +36,16 @@ convert_filename() {
36 update_symlinks() {
37 # Symlink the latest stages3 to build from
38 local d f
39 - for d in "${BUILD_SRCDIR_BASE}/builds/default/ppc" ; do
40 + for d in "${BUILD_SRCDIR_BASE}/builds/default" ; do
41 pushd "${d}" >/dev/null
42 for f in $(ls stage3-ppc-*xz | grep -v latest | give_latest_from_dates) ; do
43 local of=$(echo "${f}" | convert_filename)
44 ln -sf "${f}" "${of}"
45 done
46 + for f in $(ls stage3-ppc64-*xz | grep -v latest | give_latest_from_dates) ; do
47 + local of=$(echo "${f}" | convert_filename)
48 + ln -sf "${f}" "${of}"
49 + done
50 popd >/dev/null
51 done
52 }
53 @@ -56,9 +60,15 @@ post_build() {
54 pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
55
56 case ${spec} in
57 - stage3.spec)
58 + ppc/installcd-stage2-minimal.spec)
59 + upload *${TIMESTAMP}*.iso*
60 + ;;
61 + ppc/stage3.spec)
62 upload stage3-ppc-*${TIMESTAMP}*.xz*
63 ;;
64 + ppc64/stage3.spec)
65 + upload stage3-ppc64-*${TIMESTAMP}*.xz*
66 + ;;
67 esac
68
69 popd >/dev/null