Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/releng:master commit in: tools/, releases/specs/ppc/ppc64le/
Date: Wed, 14 Jul 2021 10:31:30
Message-Id: 1626258575.4ee10bfab3945e1614a0fa2b0d8aedecd03ae496.gyakovlev@gentoo
1 commit: 4ee10bfab3945e1614a0fa2b0d8aedecd03ae496
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 14 10:29:35 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 14 10:29:35 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=4ee10bfa
7
8 releases/specs/ppc/ppc64le: new spec naming scheme
9
10 introduce explicit openrc in spec/tarball name.
11 change power9 specs to proper catalyst subarch: power9le
12
13 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
14
15 ...tage1.spec => stage1-musl-hardened-openrc.spec} | 4 ++--
16 ...ge1-power9.spec => stage1-openrc-power9le.spec} | 8 +++----
17 .../ppc64le/{stage1.spec => stage1-openrc.spec} | 4 ++--
18 .../{systemd-stage1.spec => stage1-systemd.spec} | 0
19 ...tage3.spec => stage3-musl-hardened-openrc.spec} | 4 ++--
20 ...ge3-power9.spec => stage3-openrc-power9le.spec} | 6 ++---
21 .../ppc64le/{stage3.spec => stage3-openrc.spec} | 4 ++--
22 .../{systemd-stage3.spec => stage3-systemd.spec} | 0
23 tools/catalyst-auto-ppc64le.conf | 27 ++++++++++++++--------
24 9 files changed, 32 insertions(+), 25 deletions(-)
25
26 diff --git a/releases/specs/ppc/ppc64le/musl-hardened-stage1.spec b/releases/specs/ppc/ppc64le/stage1-musl-hardened-openrc.spec
27 similarity index 76%
28 rename from releases/specs/ppc/ppc64le/musl-hardened-stage1.spec
29 rename to releases/specs/ppc/ppc64le/stage1-musl-hardened-openrc.spec
30 index 9d65a83c..d1a74651 100644
31 --- a/releases/specs/ppc/ppc64le/musl-hardened-stage1.spec
32 +++ b/releases/specs/ppc/ppc64le/stage1-musl-hardened-openrc.spec
33 @@ -1,10 +1,10 @@
34 subarch: ppc64le
35 target: stage1
36 -version_stamp: musl-hardened-@TIMESTAMP@
37 +version_stamp: musl-hardened-openrc-@TIMESTAMP@
38 rel_type: musl-hardened
39 profile: default/linux/ppc64le/17.0/musl/hardened
40 snapshot: @TIMESTAMP@
41 -source_subpath: musl-hardened/stage3-ppc64le-musl-hardened-latest
42 +source_subpath: musl-hardened/stage3-ppc64le-musl-hardened-openrc-latest
43 chost: powerpc64le-gentoo-linux-musl
44 compression_mode: pixz_x
45 update_seed: yes
46
47 diff --git a/releases/specs/ppc/ppc64le/stage1-power9.spec b/releases/specs/ppc/ppc64le/stage1-openrc-power9le.spec
48 similarity index 63%
49 rename from releases/specs/ppc/ppc64le/stage1-power9.spec
50 rename to releases/specs/ppc/ppc64le/stage1-openrc-power9le.spec
51 index d09343e8..caf9c04d 100644
52 --- a/releases/specs/ppc/ppc64le/stage1-power9.spec
53 +++ b/releases/specs/ppc/ppc64le/stage1-openrc-power9le.spec
54 @@ -1,10 +1,10 @@
55 subarch: power9le
56 target: stage1
57 -version_stamp: power9-@TIMESTAMP@
58 -rel_type: power9
59 -profile: default/linux/ppc64le/17.0
60 +version_stamp: openrc-@TIMESTAMP@
61 +rel_type: power9le
62 +profile: power9le/linux/ppc64le/17.0
63 snapshot: @TIMESTAMP@
64 -source_subpath: power9/stage3-ppc64le-power9-latest
65 +source_subpath: power9le/stage3-power9le-openrc-latest
66 compression_mode: pixz_x
67 update_seed: yes
68 update_seed_command: --update --deep --newuse @world --jobs 64 --load-average 128
69
70 diff --git a/releases/specs/ppc/ppc64le/stage1.spec b/releases/specs/ppc/ppc64le/stage1-openrc.spec
71 similarity index 77%
72 rename from releases/specs/ppc/ppc64le/stage1.spec
73 rename to releases/specs/ppc/ppc64le/stage1-openrc.spec
74 index 6c04bf37..2ac862ca 100644
75 --- a/releases/specs/ppc/ppc64le/stage1.spec
76 +++ b/releases/specs/ppc/ppc64le/stage1-openrc.spec
77 @@ -1,10 +1,10 @@
78 subarch: ppc64le
79 target: stage1
80 -version_stamp: @TIMESTAMP@
81 +version_stamp: openrc-@TIMESTAMP@
82 rel_type: default
83 profile: default/linux/ppc64le/17.0
84 snapshot: @TIMESTAMP@
85 -source_subpath: default/stage3-ppc64le-latest
86 +source_subpath: default/stage3-ppc64le-openrc-latest
87 compression_mode: pixz_x
88 update_seed: yes
89 update_seed_command: --update --deep --newuse @world --jobs 5 --load-average 5
90
91 diff --git a/releases/specs/ppc/ppc64le/systemd-stage1.spec b/releases/specs/ppc/ppc64le/stage1-systemd.spec
92 similarity index 100%
93 rename from releases/specs/ppc/ppc64le/systemd-stage1.spec
94 rename to releases/specs/ppc/ppc64le/stage1-systemd.spec
95
96 diff --git a/releases/specs/ppc/ppc64le/musl-hardened-stage3.spec b/releases/specs/ppc/ppc64le/stage3-musl-hardened-openrc.spec
97 similarity index 67%
98 rename from releases/specs/ppc/ppc64le/musl-hardened-stage3.spec
99 rename to releases/specs/ppc/ppc64le/stage3-musl-hardened-openrc.spec
100 index 588fe8c3..83cb21ca 100644
101 --- a/releases/specs/ppc/ppc64le/musl-hardened-stage3.spec
102 +++ b/releases/specs/ppc/ppc64le/stage3-musl-hardened-openrc.spec
103 @@ -1,10 +1,10 @@
104 subarch: ppc64le
105 target: stage3
106 -version_stamp: musl-hardened-@TIMESTAMP@
107 +version_stamp: musl-hardened-openrc-@TIMESTAMP@
108 rel_type: musl-hardened
109 profile: default/linux/ppc64le/17.0/musl/hardened
110 snapshot: @TIMESTAMP@
111 -source_subpath: musl-hardened/stage1-ppc64le-musl-hardened-@TIMESTAMP@
112 +source_subpath: musl-hardened/stage1-ppc64le-musl-hardened-openrc-@TIMESTAMP@
113 compression_mode: pixz_x
114 portage_confdir: @REPO_DIR@/releases/portage/stages-musl
115 portage_prefix: releng
116
117 diff --git a/releases/specs/ppc/ppc64le/stage3-power9.spec b/releases/specs/ppc/ppc64le/stage3-openrc-power9le.spec
118 similarity index 63%
119 rename from releases/specs/ppc/ppc64le/stage3-power9.spec
120 rename to releases/specs/ppc/ppc64le/stage3-openrc-power9le.spec
121 index ab5a27c8..37e50ddd 100644
122 --- a/releases/specs/ppc/ppc64le/stage3-power9.spec
123 +++ b/releases/specs/ppc/ppc64le/stage3-openrc-power9le.spec
124 @@ -1,10 +1,10 @@
125 subarch: power9le
126 target: stage3
127 -version_stamp: power9-@TIMESTAMP@
128 -rel_type: power9
129 +version_stamp: openrc-@TIMESTAMP@
130 +rel_type: power9le
131 profile: default/linux/ppc64le/17.0
132 snapshot: @TIMESTAMP@
133 -source_subpath: default/stage1-ppc64le-@TIMESTAMP@
134 +source_subpath: default/stage1-power9le-openrc-@TIMESTAMP@
135 compression_mode: pixz_x
136 portage_confdir: @REPO_DIR@/releases/portage/stages
137 portage_prefix: releng
138
139 diff --git a/releases/specs/ppc/ppc64le/stage3.spec b/releases/specs/ppc/ppc64le/stage3-openrc.spec
140 similarity index 69%
141 rename from releases/specs/ppc/ppc64le/stage3.spec
142 rename to releases/specs/ppc/ppc64le/stage3-openrc.spec
143 index 33beba6f..620b5fad 100644
144 --- a/releases/specs/ppc/ppc64le/stage3.spec
145 +++ b/releases/specs/ppc/ppc64le/stage3-openrc.spec
146 @@ -1,10 +1,10 @@
147 subarch: ppc64le
148 target: stage3
149 -version_stamp: @TIMESTAMP@
150 +version_stamp: openrc-@TIMESTAMP@
151 rel_type: default
152 profile: default/linux/ppc64le/17.0
153 snapshot: @TIMESTAMP@
154 -source_subpath: default/stage1-ppc64le-@TIMESTAMP@
155 +source_subpath: default/stage1-ppc64le-openrc-@TIMESTAMP@
156 compression_mode: pixz_x
157 portage_confdir: @REPO_DIR@/releases/portage/stages
158 portage_prefix: releng
159
160 diff --git a/releases/specs/ppc/ppc64le/systemd-stage3.spec b/releases/specs/ppc/ppc64le/stage3-systemd.spec
161 similarity index 100%
162 rename from releases/specs/ppc/ppc64le/systemd-stage3.spec
163 rename to releases/specs/ppc/ppc64le/stage3-systemd.spec
164
165 diff --git a/tools/catalyst-auto-ppc64le.conf b/tools/catalyst-auto-ppc64le.conf
166 index 6fbd174b..f5486765 100644
167 --- a/tools/catalyst-auto-ppc64le.conf
168 +++ b/tools/catalyst-auto-ppc64le.conf
169 @@ -5,10 +5,11 @@ UPLOAD_USER=ppc
170 UPLOAD_KEY=/root/.ssh/id_rsa
171 SPECS_DIR=${REPO_DIR}/releases/specs/ppc/ppc64le
172
173 -SPECS="stage1.spec stage3.spec"
174 -OPTIONAL_SPECS="systemd-stage1.spec systemd-stage3.spec"
175 -OPTIONAL_SPECS="${OPTIONAL_SPECS} musl-hardened-stage1.spec musl-hardened-stage3.spec"
176 -OPTIONAL_SPECS="${OPTIONAL_SPECS} installcd-stage1.spec installcd-stage2-minimal.spec"
177 +SPECS="stage1-openrc.spec stage3-openrc.spec"
178 +SPECS+=" installcd-stage1.spec installcd-stage2-minimal.spec"
179 +OPTIONAL_SPECS="stage1-systemd.spec stage3-systemd.spec"
180 +OPTIONAL_SPECS+=" stage1-openrc-power9le.spec stage3-openrc-power9le.spec"
181 +OPTIONAL_SPECS+=" musl-hardened-stage1.spec musl-hardened-stage3.spec"
182
183 #SPECS="${SPECS} stage2-desktop.spec stage3-desktop.spec"
184 #SPECS="${SPECS} livecd-stage1.spec livecd-stage2.spec"
185 @@ -20,7 +21,7 @@ EMAIL_SUBJECT_PREPEND="[ppc64le-auto]"
186 update_symlinks() {
187 # Symlink the latest stages3 to build from
188 local d f t
189 - for d in "${BUILD_SRCDIR_BASE}/builds/default" "${BUILD_SRCDIR_BASE}/builds/musl-hardened"; do
190 + for d in "${BUILD_SRCDIR_BASE}"/builds/{default,power9le,musl-hardened} ; do
191 pushd "${d}" >/dev/null
192 for t in ppc64le; do
193 for f in $(ls stage3-${t}-*xz | grep -v latest | give_latest_from_dates) ; do
194 @@ -41,14 +42,20 @@ post_build() {
195 installcd-stage2-minimal.spec)
196 upload default/*${TIMESTAMP}*.iso*
197 ;;
198 - stage3*.spec)
199 - upload default/stage3-ppc64le-${TIMESTAMP}*.xz*
200 + stage3-openrc.spec)
201 + upload default/stage3-ppc64le-openrc-${TIMESTAMP}*.xz*
202 ;;
203 - systemd-stage3*.spec)
204 + stage3-systemd.spec)
205 upload default/stage3-ppc64le-systemd-${TIMESTAMP}*.xz*
206 ;;
207 - musl-hardened-stage3*.spec)
208 - upload musl-hardened/stage3-ppc64le-musl-hardened-${TIMESTAMP}*.xz*
209 + stage3-openrc-power9le.spec)
210 + upload power9le/stage3-power9le-openrc-${TIMESTAMP}*.xz*
211 + ;;
212 + stage3-systemd-power9le.spec)
213 + upload power9le/stage3-power9le-systemd-${TIMESTAMP}*.xz*
214 + ;;
215 + stage3-musl-hardened-openrc.spec)
216 + upload musl-hardened/stage3-ppc64le-musl-hardened-openrc-${TIMESTAMP}*.xz*
217 ;;
218 *)
219 echo "Finished ${spec}"