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

@ -1,10 +1,10 @@
subarch: ppc64le
target: stage1
version_stamp: musl-hardened-@TIMESTAMP@
version_stamp: musl-hardened-openrc-@TIMESTAMP@
rel_type: musl-hardened
profile: default/linux/ppc64le/17.0/musl/hardened
snapshot: @TIMESTAMP@
source_subpath: musl-hardened/stage3-ppc64le-musl-hardened-latest
source_subpath: musl-hardened/stage3-ppc64le-musl-hardened-openrc-latest
chost: powerpc64le-gentoo-linux-musl
compression_mode: pixz_x
update_seed: yes

View file

@ -1,10 +1,10 @@
subarch: power9le
target: stage1
version_stamp: power9-@TIMESTAMP@
rel_type: power9
profile: default/linux/ppc64le/17.0
version_stamp: openrc-@TIMESTAMP@
rel_type: power9le
profile: power9le/linux/ppc64le/17.0
snapshot: @TIMESTAMP@
source_subpath: power9/stage3-ppc64le-power9-latest
source_subpath: power9le/stage3-power9le-openrc-latest
compression_mode: pixz_x
update_seed: yes
update_seed_command: --update --deep --newuse @world --jobs 64 --load-average 128

View file

@ -1,10 +1,10 @@
subarch: ppc64le
target: stage1
version_stamp: @TIMESTAMP@
version_stamp: openrc-@TIMESTAMP@
rel_type: default
profile: default/linux/ppc64le/17.0
snapshot: @TIMESTAMP@
source_subpath: default/stage3-ppc64le-latest
source_subpath: default/stage3-ppc64le-openrc-latest
compression_mode: pixz_x
update_seed: yes
update_seed_command: --update --deep --newuse @world --jobs 5 --load-average 5

View file

@ -1,10 +1,10 @@
subarch: ppc64le
target: stage3
version_stamp: musl-hardened-@TIMESTAMP@
version_stamp: musl-hardened-openrc-@TIMESTAMP@
rel_type: musl-hardened
profile: default/linux/ppc64le/17.0/musl/hardened
snapshot: @TIMESTAMP@
source_subpath: musl-hardened/stage1-ppc64le-musl-hardened-@TIMESTAMP@
source_subpath: musl-hardened/stage1-ppc64le-musl-hardened-openrc-@TIMESTAMP@
compression_mode: pixz_x
portage_confdir: @REPO_DIR@/releases/portage/stages-musl
portage_prefix: releng

View file

@ -1,10 +1,10 @@
subarch: power9le
target: stage3
version_stamp: power9-@TIMESTAMP@
rel_type: power9
version_stamp: openrc-@TIMESTAMP@
rel_type: power9le
profile: default/linux/ppc64le/17.0
snapshot: @TIMESTAMP@
source_subpath: default/stage1-ppc64le-@TIMESTAMP@
source_subpath: default/stage1-power9le-openrc-@TIMESTAMP@
compression_mode: pixz_x
portage_confdir: @REPO_DIR@/releases/portage/stages
portage_prefix: releng

View file

@ -1,10 +1,10 @@
subarch: ppc64le
target: stage3
version_stamp: @TIMESTAMP@
version_stamp: openrc-@TIMESTAMP@
rel_type: default
profile: default/linux/ppc64le/17.0
snapshot: @TIMESTAMP@
source_subpath: default/stage1-ppc64le-@TIMESTAMP@
source_subpath: default/stage1-ppc64le-openrc-@TIMESTAMP@
compression_mode: pixz_x
portage_confdir: @REPO_DIR@/releases/portage/stages
portage_prefix: releng

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}"