Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/releng:master commit in: tools/
Date: Mon, 05 Jul 2021 23:31:43
Message-Id: 1625527873.a59843d9bdbd557d237a4e6f4ec85eabc210d0d9.dilfridge@gentoo
1 commit: a59843d9bdbd557d237a4e6f4ec85eabc210d0d9
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 5 23:31:13 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 5 23:31:13 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=a59843d9
7
8 x86: delete obsolete catalyst-auto config file
9
10 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
11
12 tools/catalyst-auto-x86.conf | 77 --------------------------------------------
13 1 file changed, 77 deletions(-)
14
15 diff --git a/tools/catalyst-auto-x86.conf b/tools/catalyst-auto-x86.conf
16 deleted file mode 100644
17 index 075bb447..00000000
18 --- a/tools/catalyst-auto-x86.conf
19 +++ /dev/null
20 @@ -1,77 +0,0 @@
21 -# This is the config file for the catalyst-auto script. It should be pretty
22 -# self-explanatory.
23 -
24 -UPLOAD_USER=x86
25 -UPLOAD_KEY=/root/.ssh/id_rsa
26 -host=$(hostname)
27 -
28 -ARCH="x86"
29 -TYPE="auto"
30 -source /etc/catalyst/release/build.env
31 -
32 -SPECS_DIR=${REPO_DIR}/releases/specs/x86
33 -
34 -SETS=""
35 -SPECS="nosuchfile.spec"
36 -
37 -KCONFIG_DIR=${REPO_DIR}/releases/kconfig/x86
38 -
39 -EXTENSIONS="@(.tar.xz|.tar.bz2|.tar.gz|.tar|.sfs)"
40 -
41 -update_symlinks() {
42 - # Symlink the latest stages3 to build from
43 - for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do
44 - pushd "${d}" >/dev/null || exit
45 - shopt -s extglob
46 - for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do
47 - # 20yymmddThhmmssZ
48 - # 20yymmddhhmmss
49 - # 20yymmdd
50 - # 20yy.n
51 - of=$(perl -p \
52 - -e 's/20\d{6}T\d{6}Z/latest/g;' \
53 - -e 's/20\d{6}\d{6}/latest/g;' \
54 - -e 's/20\d{6}/latest/g;' \
55 - -e 's/20\d{2}\.\d{2}/latest/g;' \
56 - <<<"$f")
57 - ln -svf "$f" "$of"
58 - done
59 - popd >/dev/null || exit
60 - done
61 -}
62 -
63 -post_build() {
64 - local set=$1 spec=$2
65 -
66 - pushd "${BUILD_SRCDIR_BASE}"/default >/dev/null || exit
67 - UPLOAD_DEST=${BUILD_DESTDIR_BASE}
68 - case ${spec} in
69 - stage3.spec)
70 - upload stage3-i486-${TIMESTAMP}.tar.xz*
71 - ;;
72 - installcd-stage2-minimal.spec)
73 - upload install-x86-minimal-${TIMESTAMP}.iso*
74 - ;;
75 - i686/stage3.spec)
76 - upload stage3-i686-${TIMESTAMP}.tar.xz*
77 - ;;
78 - i686/stage3-systemd.spec)
79 - upload stage3-i686-systemd-${TIMESTAMP}.tar.xz*
80 - ;;
81 - esac
82 - popd >/dev/null || exit
83 -
84 - pushd "${BUILD_SRCDIR_BASE}"/hardened >/dev/null || exit
85 - UPLOAD_DEST=${BUILD_DESTDIR_BASE}/hardened
86 - case ${spec} in
87 - hardened/stage3.spec)
88 - upload stage3-i686-hardened-${TIMESTAMP}.tar.xz*
89 - ;;
90 - hardened/admincd-stage2.spec)
91 - upload admincd-x86-${TIMESTAMP}.iso*
92 - ;;
93 - esac
94 - popd >/dev/null || exit
95 -}
96 -
97 -# vim:ft=sh: