releases/specs/ppc/ppc64le: new spec naming scheme

introduce explicit openrc in spec/tarball name.
change power9 specs to proper catalyst subarch: power9le

Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev 2021-07-14 03:29:35 -07:00
parent 4d0fcd831a
commit 4ee10bfab3
No known key found for this signature in database
GPG key ID: A272C8F015129D52
9 changed files with 32 additions and 25 deletions

View file

@ -5,10 +5,11 @@ UPLOAD_USER=ppc
UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs/ppc/ppc64le
SPECS="stage1.spec stage3.spec"
OPTIONAL_SPECS="systemd-stage1.spec systemd-stage3.spec"
OPTIONAL_SPECS="${OPTIONAL_SPECS} musl-hardened-stage1.spec musl-hardened-stage3.spec"
OPTIONAL_SPECS="${OPTIONAL_SPECS} installcd-stage1.spec installcd-stage2-minimal.spec"
SPECS="stage1-openrc.spec stage3-openrc.spec"
SPECS+=" installcd-stage1.spec installcd-stage2-minimal.spec"
OPTIONAL_SPECS="stage1-systemd.spec stage3-systemd.spec"
OPTIONAL_SPECS+=" stage1-openrc-power9le.spec stage3-openrc-power9le.spec"
OPTIONAL_SPECS+=" musl-hardened-stage1.spec musl-hardened-stage3.spec"
#SPECS="${SPECS} stage2-desktop.spec stage3-desktop.spec"
#SPECS="${SPECS} livecd-stage1.spec livecd-stage2.spec"
@ -20,7 +21,7 @@ EMAIL_SUBJECT_PREPEND="[ppc64le-auto]"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f t
for d in "${BUILD_SRCDIR_BASE}/builds/default" "${BUILD_SRCDIR_BASE}/builds/musl-hardened"; do
for d in "${BUILD_SRCDIR_BASE}"/builds/{default,power9le,musl-hardened} ; do
pushd "${d}" >/dev/null
for t in ppc64le; do
for f in $(ls stage3-${t}-*xz | grep -v latest | give_latest_from_dates) ; do
@ -41,14 +42,20 @@ post_build() {
installcd-stage2-minimal.spec)
upload default/*${TIMESTAMP}*.iso*
;;
stage3*.spec)
upload default/stage3-ppc64le-${TIMESTAMP}*.xz*
stage3-openrc.spec)
upload default/stage3-ppc64le-openrc-${TIMESTAMP}*.xz*
;;
systemd-stage3*.spec)
stage3-systemd.spec)
upload default/stage3-ppc64le-systemd-${TIMESTAMP}*.xz*
;;
musl-hardened-stage3*.spec)
upload musl-hardened/stage3-ppc64le-musl-hardened-${TIMESTAMP}*.xz*
stage3-openrc-power9le.spec)
upload power9le/stage3-power9le-openrc-${TIMESTAMP}*.xz*
;;
stage3-systemd-power9le.spec)
upload power9le/stage3-power9le-systemd-${TIMESTAMP}*.xz*
;;
stage3-musl-hardened-openrc.spec)
upload musl-hardened/stage3-ppc64le-musl-hardened-openrc-${TIMESTAMP}*.xz*
;;
*)
echo "Finished ${spec}"