tools: remove irrelevant catalyst-auto confs

Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
This commit is contained in:
James Calligeros 2024-06-24 17:14:29 +10:00
parent 9357ec0d5c
commit 0d2da01f72
Signed by: chadmed
GPG key ID: D43632D151F77960
19 changed files with 0 additions and 1515 deletions

View file

@ -1,218 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=amd64
UPLOAD_KEY=/root/.ssh/id_ed25519
host=$(hostname)
EMAIL_SUBJECT_PREPEND="[amd64-auto]"
SPECS_DIR=${REPO_DIR}/releases/specs/amd64
SETS="
openrc_23
livegui_23
openrc_23_su
systemd_23
nomultilib_openrc_23
nomultilib_systemd_23
llvm_openrc_23
llvm_systemd_23
hardened_openrc_23
hardened_systemd_23
hardened_selinux_openrc_23
hardened_selinux_systemd_23
musl_23
musl_hardened_23
musl_llvm_23
x32_openrc_23
x32_systemd_23
"
# 23.0
SET_openrc_23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
SET_openrc_23_OPTIONAL_SPECS="stage3d-openrc-23.spec installcd-stage1.spec installcd-stage2-minimal.spec"
SET_livegui_23_OPTIONAL_SPECS="livegui/livegui-stage1.spec livegui/livegui-stage2.spec"
SET_openrc_23_su_SPECS="stage1-openrc-23-su.spec stage3-openrc-23-su.spec"
SET_systemd_23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
SET_systemd_23_OPTIONAL_SPECS="stage3d-systemd-23.spec"
SET_hardened_openrc_23_SPECS="hardened/stage1-openrc-23.spec hardened/stage3-openrc-23.spec"
SET_hardened_openrc_23_OPTIONAL_SPECS="hardened/admincd-stage1.spec hardened/admincd-stage2.spec"
SET_hardened_systemd_23_SPECS="hardened/stage1-systemd-23.spec hardened/stage3-systemd-23.spec"
SET_hardened_selinux_openrc_23_SPECS="hardened-selinux/stage1-openrc-23.spec hardened-selinux/stage3-openrc-23.spec"
SET_hardened_selinux_systemd_23_SPECS="hardened-selinux/stage1-systemd-23.spec hardened-selinux/stage3-systemd-23.spec"
SET_nomultilib_openrc_23_SPECS="nomultilib/stage1-openrc-23.spec nomultilib/stage3-openrc-23.spec"
SET_nomultilib_systemd_23_SPECS="nomultilib/stage1-systemd-23.spec nomultilib/stage3-systemd-23.spec"
SET_llvm_openrc_23_SPECS="llvm/stage1-openrc-23.spec llvm/stage3-openrc-23.spec"
SET_llvm_systemd_23_SPECS="llvm/stage1-systemd-23.spec llvm/stage3-systemd-23.spec"
SET_musl_23_SPECS="musl/stage1-23.spec musl/stage3-23.spec"
SET_musl_llvm_23_SPECS="musl-llvm/stage1-23.spec musl-llvm/stage3-23.spec"
SET_musl_hardened_23_SPECS="musl-hardened/stage1-23.spec musl-hardened/stage3-23.spec"
SET_x32_openrc_23_SPECS="x32/stage1-openrc-23.spec x32/stage3-openrc-23.spec"
SET_x32_systemd_23_SPECS="x32/stage1-systemd-23.spec x32/stage3-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/amd64
EXTENSIONS="@(.tar.xz|.tar.bz2|.tar.gz|.tar|.sfs)"
update_symlinks() {
# Symlink the latest stages3 to build from
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null || exit
shopt -s extglob
for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do
# 20yymmddThhmmssZ
# 20yymmddhhmmss
# 20yymmdd
# 20yy.n
of=$(perl -p \
-e 's/20\d{6}T\d{6}Z/latest/g;' \
-e 's/20\d{6}\d{6}/latest/g;' \
-e 's/20\d{6}/latest/g;' \
-e 's/20\d{2}\.\d{2}/latest/g;' \
<<<"$f")
ln -sf "$f" "$of"
done
popd >/dev/null || exit
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}"/builds/23.0-default >/dev/null || exit
case ${spec} in
stage3-openrc-23.spec)
upload stage3-amd64-openrc-${TIMESTAMP}.tar.xz*
# do not upsync_binpackages, done by extra builder
;;
stage3d-openrc-23.spec)
upload stage3-amd64-desktop-openrc-${TIMESTAMP}.tar.xz*
# do not upsync_binpackages, done by extra builder
;;
stage3-systemd-23.spec)
upload stage3-amd64-systemd-${TIMESTAMP}.tar.xz*
# do not upsync_binpackages, done by extra builder
;;
stage3d-systemd-23.spec)
upload stage3-amd64-desktop-systemd-${TIMESTAMP}.tar.xz*
# do not upsync_binpackages, done by extra builder
;;
installcd-stage2-minimal.spec)
upload install-amd64-minimal-${TIMESTAMP}.iso*
;;
livegui/livegui-stage2.spec)
upload livegui-amd64-${TIMESTAMP}.iso*
;;
nomultilib/stage3-openrc-23.spec)
upload stage3-amd64-nomultilib-openrc-${TIMESTAMP}.tar.xz*
# do not upsync_binpackages, done by extra builder
;;
nomultilib/stage3-systemd-23.spec)
upload stage3-amd64-nomultilib-systemd-${TIMESTAMP}.tar.xz*
;;
x32/stage3-openrc-23.spec)
upload stage3-x32-openrc-${TIMESTAMP}.tar.xz*
;;
x32/stage3-systemd-23.spec)
upload stage3-x32-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-x32" amd64/23.0/x32
;;
esac
popd >/dev/null || exit
pushd "${BUILD_SRCDIR_BASE}"/builds/23.0-splitusr >/dev/null || exit
case ${spec} in
stage3-openrc-23-su.spec)
upload stage3-amd64-openrc-splitusr-${TIMESTAMP}.tar.xz*
;;
esac
popd >/dev/null || exit
pushd "${BUILD_SRCDIR_BASE}"/builds/23.0-llvm >/dev/null || exit
case ${spec} in
llvm/stage3-openrc-23.spec)
upload stage3-amd64-llvm-openrc-${TIMESTAMP}.tar.xz*
;;
llvm/stage3-systemd-23.spec)
upload stage3-amd64-llvm-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-llvm/stage3-amd64" amd64/23.0/x86-64_llvm
;;
esac
popd >/dev/null || exit
pushd "${BUILD_SRCDIR_BASE}"/builds/23.0-hardened >/dev/null || exit
case ${spec} in
hardened/stage3-openrc-23.spec)
upload stage3-amd64-hardened-openrc-${TIMESTAMP}.tar.xz*
;;
hardened/stage3-systemd-23.spec)
upload stage3-amd64-hardened-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-hardened/stage3-amd64" amd64/23.0/x86-64_hardened
;;
hardened/admincd-stage2.spec)
upload admincd-amd64-${TIMESTAMP}.iso*
;;
hardened-nomultilib/stage3-openrc-23.spec)
upload stage3-amd64-hardened-nomultilib-openrc-${TIMESTAMP}.tar.xz*
;;
hardened-nomultilib/stage3-systemd-23.spec)
upload stage3-amd64-hardened-nomultilib-systemd-${TIMESTAMP}.tar.xz*
;;
hardened-selinux/stage3-openrc-23.spec)
upload stage3-amd64-hardened-selinux-openrc-${TIMESTAMP}.tar.xz*
;;
hardened-nomultilib-selinux/stage3-openrc-23.spec)
upload stage3-amd64-hardened-nomultilib-selinux-openrc-${TIMESTAMP}.tar.xz*
;;
esac
popd >/dev/null || exit
pushd "${BUILD_SRCDIR_BASE}"/builds/23.0-musl >/dev/null || exit
case ${spec} in
musl/stage3-23.spec)
upload stage3-amd64-musl-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl/stage3-amd64" amd64/23.0/x86-64_musl
;;
esac
popd >/dev/null || exit
pushd "${BUILD_SRCDIR_BASE}"/builds/23.0-musl-llvm >/dev/null || exit
case ${spec} in
musl-llvm/stage3-23.spec)
upload stage3-amd64-musl-llvm-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-llvm/stage3-amd64" amd64/23.0/x86-64_musl_llvm
;;
esac
popd >/dev/null || exit
pushd "${BUILD_SRCDIR_BASE}"/builds/23.0-musl-hardened >/dev/null || exit
case ${spec} in
musl-hardened/stage3-23.spec)
upload stage3-amd64-musl-hardened-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-hardened/stage3-amd64" amd64/23.0/x86-64_musl_hardened
;;
esac
popd >/dev/null || exit
}
# vim:ft=sh:

View file

@ -1,153 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=arm
UPLOAD_KEY=/root/.ssh/id_ed25519
host=$(hostname)
SPECS_DIR=${REPO_DIR}/releases/specs/arm
EMAIL_SUBJECT_PREPEND="[arm-auto]"
SETS="
armv4tl_openrc_23
armv4tl_systemd_23
armv5tel_openrc_23
armv5tel_systemd_23
armv6j_hf_openrc_23
armv6j_hf_systemd_23
armv6j_sf_openrc_23
armv6j_sf_systemd_23
armv6j_hf_musl_openrc_23
armv6j_hf_musl_hardened_openrc_23
armv7a_hf_openrc_23
armv7a_hf_systemd_23
armv7a_sf_openrc_23
armv7a_sf_systemd_23
armv7a_hf_musl_openrc_23
armv7a_hf_musl_hardened_openrc_23
"
SET_armv4tl_openrc_23_SPECS="armv4tl/stage1-openrc-23.spec armv4tl/stage3-openrc-23.spec"
SET_armv4tl_systemd_23_SPECS="armv4tl/stage1-systemd-23.spec armv4tl/stage3-systemd-23.spec"
SET_armv5tel_openrc_23_SPECS="armv5tel/stage1-openrc-23.spec armv5tel/stage3-openrc-23.spec"
SET_armv5tel_systemd_23_SPECS="armv5tel/stage1-systemd-23.spec armv5tel/stage3-systemd-23.spec"
SET_armv6j_hf_openrc_23_SPECS="armv6j/stage1-hardfloat-openrc-23.spec armv6j/stage3-hardfloat-openrc-23.spec"
SET_armv6j_hf_systemd_23_SPECS="armv6j/stage1-hardfloat-systemd-23.spec armv6j/stage3-hardfloat-systemd-23.spec"
SET_armv6j_sf_openrc_23_SPECS="armv6j/stage1-openrc-23.spec armv6j/stage3-openrc-23.spec"
SET_armv6j_sf_systemd_23_SPECS="armv6j/stage1-systemd-23.spec armv6j/stage3-systemd-23.spec"
SET_armv6j_hf_musl_openrc_23_SPECS="armv6j-musl/stage1-hardfloat-23.spec armv6j-musl/stage3-hardfloat-23.spec"
SET_armv6j_hf_musl_hardened_openrc_23_SPECS="armv6j-musl-hardened/stage1-hardfloat-23.spec armv6j-musl-hardened/stage3-hardfloat-23.spec"
SET_armv7a_hf_openrc_23_SPECS="armv7a/stage1-hardfloat-openrc-23.spec armv7a/stage3-hardfloat-openrc-23.spec"
SET_armv7a_hf_systemd_23_SPECS="armv7a/stage1-hardfloat-systemd-23.spec armv7a/stage3-hardfloat-systemd-23.spec"
SET_armv7a_sf_openrc_23_SPECS="armv7a/stage1-openrc-23.spec armv7a/stage3-openrc-23.spec"
SET_armv7a_sf_systemd_23_SPECS="armv7a/stage1-systemd-23.spec armv7a/stage3-systemd-23.spec"
SET_armv7a_hf_musl_openrc_23_SPECS="armv7a-musl/stage1-hardfloat-23.spec armv7a-musl/stage3-hardfloat-23.spec"
SET_armv7a_hf_musl_hardened_openrc_23_SPECS="armv7a-musl-hardened/stage1-hardfloat-23.spec armv7a-musl-hardened/stage3-hardfloat-23.spec"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
armv4tl/stage3-openrc-23.spec)
upload stage3-armv4tl-openrc-${TIMESTAMP}*.xz*
;;
armv4tl/stage3-systemd-23.spec)
upload stage3-armv4tl-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-armv4tl" arm/23.0/armv4tl
;;
armv5tel/stage3-openrc-23.spec)
upload stage3-armv5tel-openrc-${TIMESTAMP}*.xz*
;;
armv5tel/stage3-systemd-23.spec)
upload stage3-armv5tel-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-armv5tel" arm/23.0/armv5tel
;;
armv6j/stage3-openrc-23.spec)
upload stage3-armv6j-openrc-${TIMESTAMP}*.xz*
;;
armv6j/stage3-systemd-23.spec)
upload stage3-armv6j-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-armv6j" arm/23.0/armv6j_sf
;;
armv6j/stage3-hardfloat-openrc-23.spec)
upload stage3-armv6j_hardfp-openrc-${TIMESTAMP}*.xz*
;;
armv6j/stage3-hardfloat-systemd-23.spec)
upload stage3-armv6j_hardfp-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-armv6j_hardfp" arm/23.0/armv6j_hf
;;
armv7a/stage3-openrc-23.spec)
upload stage3-armv7a-openrc-${TIMESTAMP}*.xz*
;;
armv7a/stage3-systemd-23.spec)
upload stage3-armv7a-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-armv7a" arm/23.0/armv7a_sf
;;
armv7a/stage3-hardfloat-openrc-23.spec)
upload stage3-armv7a_hardfp-openrc-${TIMESTAMP}*.xz*
;;
armv7a/stage3-hardfloat-systemd-23.spec)
upload stage3-armv7a_hardfp-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-armv7a_hardfp" arm/23.0/armv7a_hf
;;
esac
popd >/dev/null
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-musl" >/dev/null
case ${spec} in
armv7a-musl/stage3-hardfloat-23.spec)
upload stage3-armv7a_hardfp_musl-openrc-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl/stage3-armv7a_hardfp_musl" arm/23.0/armv7a_hardfp_musl
;;
armv6j-musl/stage3-hardfloat-23.spec)
upload stage3-armv6j_hardfp_musl-openrc-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl/stage3-armv6j_hardfp_musl" arm/23.0/armv6j_hardfp_musl
;;
esac
popd >/dev/null
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-musl-hardened" >/dev/null
case ${spec} in
armv7a-musl-hardened/stage3-hardfloat-23.spec)
upload stage3-armv7a_hardfp_musl-hardened-openrc-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-hardened/stage3-armv7a_hardfp_musl" arm/23.0/armv7a_hardfp_musl_hardened
;;
armv6j-musl-hardened/stage3-hardfloat-23.spec)
upload stage3-armv6j_hardfp_musl-hardened-openrc-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-hardened/stage3-armv6j_hardfp_musl" arm/23.0/armv6j_hardfp_musl_hardened
;;
esac
popd >/dev/null
}

View file

@ -1,82 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=hppa
UPLOAD_KEY=/root/.ssh/id_ed25519
SPECS_DIR=${REPO_DIR}/releases/specs/hppa
SETS="
hppa11_openrc_23
hppa11_systemd_23
hppa20_openrc_23
hppa20_systemd_23
"
SET_hppa11_openrc_23_SPECS="hppa1.1/stage1-openrc-23.spec hppa1.1/stage3-openrc-23.spec"
SET_hppa11_openrc_23_OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec netboot-hppa32.spec"
SET_hppa11_systemd_23_SPECS="hppa1.1/stage1-systemd-23.spec hppa1.1/stage3-systemd-23.spec"
SET_hppa20_openrc_23_SPECS="hppa2.0/stage1-openrc-23.spec hppa2.0/stage3-openrc-23.spec"
SET_hppa20_openrc_23_OPTIONAL_SPECS="netboot-hppa64.spec"
SET_hppa20_systemd_23_SPECS="hppa2.0/stage1-systemd-23.spec hppa2.0/stage3-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/hppa
EMAIL_SUBJECT_PREPEND="[hppa-auto]"
TMP_PATH=/var/tmp/catalyst/tmp
update_symlinks() {
# Symlink the latest stages3 to build from
local d f t
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for t in hppa1.1 hppa2.0; do
for f in $(ls stage3-${t}-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
hppa1.1/stage3-openrc-23.spec)
upload stage3-hppa1.1-openrc-${TIMESTAMP}.tar.xz*
;;
hppa1.1/stage3-systemd-23.spec)
upload stage3-hppa1.1-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-hppa1.1" hppa/23.0/hppa1.1
;;
hppa2.0/stage3-openrc-23.spec)
upload stage3-hppa2.0-openrc-${TIMESTAMP}.tar.xz*
;;
hppa2.0/stage3-systemd-23.spec)
upload stage3-hppa2.0-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-hppa2.0" hppa/23.0/hppa2.0
;;
netboot-hppa32.spec)
ls -l netboot-hppa1.1-${TIMESTAMP}/
mv -v netboot-hppa1.1-${TIMESTAMP}/hppa32-hppa.lif netboot-hppa1.1-${TIMESTAMP}/netboot-hppa32-${TIMESTAMP}.lif
upload netboot-hppa1.1-${TIMESTAMP}/netboot-hppa32-${TIMESTAMP}.lif
;;
netboot-hppa64.spec)
ls -l netboot-hppa2.0-${TIMESTAMP}/
mv -v netboot-hppa2.0-${TIMESTAMP}/hppa64-hppa.lif netboot-hppa2.0-${TIMESTAMP}/netboot-hppa64-${TIMESTAMP}.lif
upload netboot-hppa2.0-${TIMESTAMP}/netboot-hppa64-${TIMESTAMP}.lif
;;
installcd-stage2-minimal.spec)
upload install-hppa-minimal-*${TIMESTAMP}*.iso*
;;
esac
popd >/dev/null
}

View file

@ -1,52 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=ia64
UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs/ia64
SETS="
openrc_23
systemd_23
"
SET_openrc_23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
SET_openrc_23_OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
SET_systemd_23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/ia64
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}" >/dev/null
case ${spec} in
installcd-stage2*)
upload builds/23.0-default/*${TIMESTAMP}*.iso*
;;
stage3-openrc-23.spec)
upload builds/23.0-default/stage3-ia64-openrc-${TIMESTAMP}.tar.xz*
;;
stage3-systemd-23.spec)
upload builds/23.0-default/stage3-ia64-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages packages/23.0-default/stage3-ia64 ia64/23.0/ia64
;;
esac
popd >/dev/null
}

View file

@ -1,90 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=ppc
UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs/ppc
SETS="
openrc_23
systemd_23
musl_hardened_23
openrc_64_23
systemd_64_23
musl_hardened_64_23
"
SET_openrc_23_SPECS="ppc32/stage1-openrc-23.spec ppc32/stage3-openrc-23.spec"
SET_openrc_23_OPTIONAL_SPECS="ppc32/installcd-stage1.spec ppc32/installcd-stage2-minimal.spec"
SET_systemd_23_SPECS="ppc32/stage1-systemd-23.spec ppc32/stage3-systemd-23.spec"
SET_musl_hardened_23_SPECS="ppc32/stage1-musl-hardened-openrc-23.spec ppc32/stage3-musl-hardened-openrc-23.spec"
SET_openrc_64_23_SPECS="ppc64/stage1-openrc-23.spec ppc64/stage3-openrc-23.spec"
SET_systemd_64_23_SPECS="ppc64/stage1-systemd-23.spec ppc64/stage3-systemd-23.spec"
SET_musl_hardened_64_23_SPECS="ppc64/stage1-musl-hardened-openrc-23.spec ppc64/stage3-musl-hardened-openrc-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/powerpc
EMAIL_SUBJECT_PREPEND="[ppc-auto]"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3-ppc-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
for f in $(ls stage3-ppc64-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds" >/dev/null
case ${spec} in
ppc32/stage3-openrc-23.spec)
upload 23.0-default/stage3-ppc-openrc-*${TIMESTAMP}*.xz*
;;
ppc32/stage3-systemd-23.spec)
upload 23.0-default/stage3-ppc-systemd-*${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-ppc" ppc/23.0/ppc
;;
ppc32/stage3-musl-hardened-openrc-23.spec)
upload 23.0-musl-hardened/stage3-ppc-musl-hardened-openrc-*${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-hardened/stage3-ppc" ppc/23.0/ppc_musl_hardened
;;
ppc32/installcd-stage2-minimal.spec)
upload 23.0-default/*${TIMESTAMP}*.iso*
;;
ppc64/stage3-openrc-23.spec)
upload 23.0-default/stage3-ppc64-openrc-*${TIMESTAMP}*.xz*
;;
ppc64/stage3-systemd-23.spec)
upload 23.0-default/stage3-ppc64-systemd-*${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-ppc64" ppc/23.0/ppc64
;;
ppc64/stage3-musl-hardened-openrc-23.spec)
upload 23.0-musl-hardened/stage3-ppc64-musl-hardened-openrc-*${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-hardened/stage3-ppc64" ppc/23.0/ppc64_musl_hardened
;;
*)
echo "Finished ${spec}"
;;
esac
popd >/dev/null
}

View file

@ -1,91 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=ppc
UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs/ppc/ppc64le
SETS="
openrc_23
systemd_23
openrc_power9le_23
systemd_power9le_23
musl_hardened_23
musl_hardened_power9le_23
"
SET_openrc_23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
SET_openrc_23_OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
SET_systemd_23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
SET_openrc_power9le_23_SPECS="stage1-openrc-power9le-23.spec stage3-openrc-power9le-23.spec stage3d-openrc-power9le-23.spec"
SET_systemd_power9le_23_SPECS="stage1-systemd-power9le-23.spec stage3-systemd-power9le-23.spec stage3d-systemd-power9le-23.spec"
SET_musl_hardened_23_SPECS="stage1-musl-hardened-openrc-23.spec stage3-musl-hardened-openrc-23.spec"
SET_musl_hardened_power9le_23_SPECS="stage1-musl-hardened-openrc-power9le-23.spec stage3-musl-hardened-openrc-power9le-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/powerpc
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/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for t in ppc64le power9le; do
for f in $(ls stage3-${t}-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds" >/dev/null
case ${spec} in
installcd-stage2-minimal.spec)
upload 23.0-default/*${TIMESTAMP}*.iso*
;;
stage3-openrc-23.spec)
upload 23.0-default/stage3-ppc64le-openrc-${TIMESTAMP}*.xz*
;;
stage3-systemd-23.spec)
upload 23.0-default/stage3-ppc64le-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-ppc64le" ppc/23.0/ppc64le
;;
stage3-openrc-power9le-23.spec)
upload 23.0-default/stage3-power9le-openrc-${TIMESTAMP}*.xz*
;;
stage3d-openrc-power9le-23.spec)
upload 23.0-default/stage3-power9le-desktop-openrc-${TIMESTAMP}*.xz*
;;
stage3-systemd-power9le-23.spec)
upload 23.0-default/stage3-power9le-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-power9le" ppc/23.0/power9le
;;
stage3-musl-hardened-openrc-23.spec)
upload 23.0-musl-hardened/stage3-ppc64le-musl-hardened-openrc-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-hardened/stage3-ppc64le" ppc/23.0/ppc64le_musl_hardened
;;
stage3-musl-hardened-openrc-power9le-23.spec)
upload 23.0-musl-hardened/stage3-power9le-musl-hardened-openrc-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl-hardened/stage3-power9le" ppc/23.0/power9le_musl_hardened
;;
*)
echo "Finished ${spec}"
;;
esac
popd >/dev/null
}

View file

@ -1,51 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=alpha
UPLOAD_KEY=/root/.ssh/id_ed25519
SPECS_DIR=${REPO_DIR}/releases/specs-qemu/alpha
EMAIL_SUBJECT_PREPEND="[alpha-qemu-auto]"
SETS="
openrc23
systemd23
"
SET_openrc23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
SET_openrc23_OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
SET_systemd23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/alpha
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}"/builds/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
stage3-openrc-23.spec)
upload stage3-alpha-openrc-${TIMESTAMP}.tar.xz*
;;
stage3-systemd-23.spec)
upload stage3-alpha-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-alpha" alpha/23.0/alpha
;;
installcd-stage2-minimal.spec)
upload install-alpha-minimal-${TIMESTAMP}.iso*
;;
esac
popd >/dev/null
}

View file

@ -1,51 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=arm64
UPLOAD_KEY=/root/.ssh/id_ed25519
SPECS_DIR=${REPO_DIR}/releases/specs-qemu/arm64/be
SUBARCH=aarch64_be
SETS="
openrc_23
systemd_23
"
SET_openrc_23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
SET_systemd_23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/arm64
EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3-${SUBARCH}-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
stage3-openrc-23.spec)
upload stage3-${SUBARCH}-openrc-${TIMESTAMP}*.xz*
;;
stage3-systemd-23.spec)
upload stage3-${SUBARCH}-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-aarch64_be" arm64/23.0/aarch64_be
;;
esac
popd >/dev/null
}

View file

@ -1,49 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=loong
UPLOAD_KEY=/root/.ssh/id_ed25519
host=$(hostname)
SPECS_DIR=${REPO_DIR}/releases/specs-qemu/loong
EMAIL_SUBJECT_PREPEND="[loong-qemu-auto]"
SETS="
openrc23
systemd23
"
SET_openrc23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
SET_systemd23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
stage3-openrc-23.spec)
upload stage3-loong-openrc-${TIMESTAMP}.tar.xz*
;;
stage3-systemd-23.spec)
upload stage3-loong-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-loong" loong/23.0/loong
;;
esac
popd >/dev/null
}

View file

@ -1,64 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=m68k
UPLOAD_KEY=/root/.ssh/id_ed25519
host=$(hostname)
SPECS_DIR=${REPO_DIR}/releases/specs-qemu/m68k
EMAIL_SUBJECT_PREPEND="[m68k-qemu-auto]"
SETS="
openrc_23
systemd_23
musl_23
"
SET_openrc_23_SPECS="stage1-openrc-23.spec stage3-openrc-23.spec"
SET_systemd_23_SPECS="stage1-systemd-23.spec stage3-systemd-23.spec"
SET_musl_23_SPECS="stage1-musl-23.spec stage3-musl-23.spec"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
case ${spec} in
stage3-openrc-23.spec)
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
upload stage3-m68k-openrc-${TIMESTAMP}*.xz*
popd >/dev/null
;;
stage3-systemd-23.spec)
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
upload stage3-m68k-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-m68k" m68k/23.0/m68k
popd >/dev/null
;;
stage3-musl-23.spec)
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-musl" >/dev/null
upload stage3-m68k_musl-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl/stage3-m68k_musl" m68k/23.0/m68k_musl
popd >/dev/null
;;
*)
echo "Finished ${spec}"
;;
esac
}

View file

@ -1,5 +0,0 @@
source ${REPO_DIR}/tools/catalyst-auto-qemu-mips-common
SETS=${SETS_O32}
UPLOAD_KEY=/root/.ssh/id_ed25519

View file

@ -1,5 +0,0 @@
source ${REPO_DIR}/tools/catalyst-auto-qemu-mips-common
SETS=${SETS_N32}
UPLOAD_KEY=/root/.ssh/id_ed25519

View file

@ -1,5 +0,0 @@
source ${REPO_DIR}/tools/catalyst-auto-qemu-mips-common
SETS=${SETS_N64}
UPLOAD_KEY=/root/.ssh/id_ed25519

View file

@ -1,5 +0,0 @@
source ${REPO_DIR}/tools/catalyst-auto-qemu-mips-common
SETS=${SETS_MULTI}
UPLOAD_KEY=/root/.ssh/id_ed25519

View file

@ -1,202 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=mips
UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs-qemu/mips
EMAIL_SUBJECT_PREPEND="[mips-qemu-auto]"
SETS_O32_23="
mipsel2_softfloat_o32_openrc_23
mipsel2_softfloat_o32_systemd_23
mipsel2_o32_openrc_23
mipsel2_o32_systemd_23
mipsel2_o32_musl_23
mips2_softfloat_o32_openrc_23
mips2_softfloat_o32_systemd_23
mips2_o32_openrc_23
mips2_o32_systemd_23
mips2_o32_musl_23
"
SETS_O32="${SETS_O32_23}"
SETS_N32_23="
mipsel3_n32_openrc_23
mipsel3_n32_systemd_23
mips3_n32_openrc_23
mips3_n32_systemd_23
"
SETS_N32="${SETS_N32_23}"
SETS_N64_23="
mipsel3_n64_openrc_23
mipsel3_n64_systemd_23
mips3_n64_openrc_23
mips3_n64_systemd_23
"
SETS_N64="${SETS_N64_23}"
SETS_MULTI_23="
mipsel3_multilib_openrc_23
mipsel3_multilib_systemd_23
mips3_multilib_openrc_23
mips3_multilib_systemd_23
"
SETS_MULTI="${SETS_MULTI_23}"
# 23.0 O32
SET_mips2_o32_openrc_23_SPECS="o32/stage1-mips2-o32-openrc-23.spec o32/stage3-mips2-o32-openrc-23.spec"
SET_mips2_o32_systemd_23_SPECS="o32/stage1-mips2-o32-systemd-23.spec o32/stage3-mips2-o32-systemd-23.spec"
SET_mips2_softfloat_o32_openrc_23_SPECS="o32/stage1-mips2_softfloat-o32-openrc-23.spec o32/stage3-mips2_softfloat-o32-openrc-23.spec"
SET_mips2_softfloat_o32_systemd_23_SPECS="o32/stage1-mips2_softfloat-o32-systemd-23.spec o32/stage3-mips2_softfloat-o32-systemd-23.spec"
SET_mips2_o32_musl_23_SPECS="o32/stage1-mips2-o32-musl-23.spec o32/stage3-mips2-o32-musl-23.spec"
SET_mipsel2_o32_openrc_23_SPECS="o32/stage1-mipsel2-o32-openrc-23.spec o32/stage3-mipsel2-o32-openrc-23.spec"
SET_mipsel2_o32_systemd_23_SPECS="o32/stage1-mipsel2-o32-systemd-23.spec o32/stage3-mipsel2-o32-systemd-23.spec"
SET_mipsel2_softfloat_o32_openrc_23_SPECS="o32/stage1-mipsel2_softfloat-o32-openrc-23.spec o32/stage3-mipsel2_softfloat-o32-openrc-23.spec"
SET_mipsel2_softfloat_o32_systemd_23_SPECS="o32/stage1-mipsel2_softfloat-o32-systemd-23.spec o32/stage3-mipsel2_softfloat-o32-systemd-23.spec"
SET_mipsel2_o32_musl_23_SPECS="o32/stage1-mipsel2-o32-musl-23.spec o32/stage3-mipsel2-o32-musl-23.spec"
# 23.0 N32
SET_mips3_n32_openrc_23_SPECS="n32/stage1-mips3-n32-openrc-23.spec n32/stage3-mips3-n32-openrc-23.spec"
SET_mips3_n32_systemd_23_SPECS="n32/stage1-mips3-n32-systemd-23.spec n32/stage3-mips3-n32-systemd-23.spec"
SET_mipsel3_n32_openrc_23_SPECS="n32/stage1-mipsel3-n32-openrc-23.spec n32/stage3-mipsel3-n32-openrc-23.spec"
SET_mipsel3_n32_systemd_23_SPECS="n32/stage1-mipsel3-n32-systemd-23.spec n32/stage3-mipsel3-n32-systemd-23.spec"
# 23.0 N64
SET_mips3_n64_openrc_23_SPECS="n64/stage1-mips3-n64-openrc-23.spec n64/stage3-mips3-n64-openrc-23.spec"
SET_mips3_n64_systemd_23_SPECS="n64/stage1-mips3-n64-systemd-23.spec n64/stage3-mips3-n64-systemd-23.spec"
SET_mipsel3_n64_openrc_23_SPECS="n64/stage1-mipsel3-n64-openrc-23.spec n64/stage3-mipsel3-n64-openrc-23.spec"
SET_mipsel3_n64_systemd_23_SPECS="n64/stage1-mipsel3-n64-systemd-23.spec n64/stage3-mipsel3-n64-systemd-23.spec"
# 23.0 multilib
SET_mips3_multilib_openrc_23_SPECS="multilib/stage1-mips3-multilib-openrc-23.spec multilib/stage3-mips3-multilib-openrc-23.spec"
SET_mips3_multilib_systemd_23_SPECS="multilib/stage1-mips3-multilib-systemd-23.spec multilib/stage3-mips3-multilib-systemd-23.spec"
SET_mipsel3_multilib_openrc_23_SPECS="multilib/stage1-mipsel3-multilib-openrc-23.spec multilib/stage3-mipsel3-multilib-openrc-23.spec"
SET_mipsel3_multilib_systemd_23_SPECS="multilib/stage1-mipsel3-multilib-systemd-23.spec multilib/stage3-mipsel3-multilib-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/mips
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
o32/stage3-mips2-o32-openrc-23.spec)
upload stage3-mips2-openrc-${TIMESTAMP}.tar.xz*
;;
o32/stage3-mips2-o32-systemd-23.spec)
upload stage3-mips2-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mips2" mips/23.0/mips2_o32
;;
o32/stage3-mips2_softfloat-o32-openrc-23.spec)
upload stage3-mips2_softfloat-openrc-${TIMESTAMP}.tar.xz*
;;
o32/stage3-mips2_softfloat-o32-systemd-23.spec)
upload stage3-mips2_softfloat-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mips2_softfloat" mips/23.0/mips2_o32_sf
;;
o32/stage3-mipsel2-o32-openrc-23.spec)
upload stage3-mipsel2-openrc-${TIMESTAMP}.tar.xz*
;;
o32/stage3-mipsel2-o32-systemd-23.spec)
upload stage3-mipsel2-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mipsel2" mips/23.0/mipsel2_o32
;;
o32/stage3-mipsel2_softfloat-o32-openrc-23.spec)
upload stage3-mipsel2_softfloat-openrc-${TIMESTAMP}.tar.xz*
;;
o32/stage3-mipsel2_softfloat-o32-systemd-23.spec)
upload stage3-mipsel2_softfloat-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mipsel2_softfloat" mips/23.0/mipsel2_o32_sf
;;
n32/stage3-mips3-n32-openrc-23.spec)
upload stage3-mips3_n32-openrc-${TIMESTAMP}.tar.xz*
;;
n32/stage3-mips3-n32-systemd-23.spec)
upload stage3-mips3_n32-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mips3_n32" mips/23.0/mips3_n32
;;
n32/stage3-mipsel3-n32-openrc-23.spec)
upload stage3-mipsel3_n32-openrc-${TIMESTAMP}.tar.xz*
;;
n32/stage3-mipsel3-n32-systemd-23.spec)
upload stage3-mipsel3_n32-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mipsel3_n32" mips/23.0/mipsel3_n32
;;
n64/stage3-mips3-n64-openrc-23.spec)
upload stage3-mips3_n64-openrc-${TIMESTAMP}.tar.xz*
;;
n64/stage3-mips3-n64-systemd-23.spec)
upload stage3-mips3_n64-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mips3_n64" mips/23.0/mips3_n64
;;
n64/stage3-mipsel3-n64-openrc-23.spec)
upload stage3-mipsel3_n64-openrc-${TIMESTAMP}.tar.xz*
;;
n64/stage3-mipsel3-n64-systemd-23.spec)
upload stage3-mipsel3_n64-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mipsel3_n64" mips/23.0/mipsel3_n64
;;
multilib/stage3-mips3-multilib-openrc-23.spec)
upload stage3-mips3_multilib-openrc-${TIMESTAMP}.tar.xz*
;;
multilib/stage3-mips3-multilib-systemd-23.spec)
upload stage3-mips3_multilib-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mips3_multilib" mips/23.0/mips3_multilib
;;
multilib/stage3-mipsel3-multilib-openrc-23.spec)
upload stage3-mipsel3_multilib-openrc-${TIMESTAMP}.tar.xz*
;;
multilib/stage3-mipsel3-multilib-systemd-23.spec)
upload stage3-mipsel3_multilib-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-mipsel3_multilib" mips/23.0/mipsel3_multilib
;;
esac
popd >/dev/null
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-musl" >/dev/null
case ${spec} in
o32/stage3-mips2-o32-musl-23.spec)
upload stage3-mips2_musl-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl/stage3-mips2_musl" mips/23.0/mips2_o32_musl
;;
o32/stage3-mipsel2-o32-musl-23.spec)
upload stage3-mipsel2_musl-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl/stage3-mipsel2_musl" mips/23.0/mipsel2_o32_musl
;;
esac
popd >/dev/null
}

View file

@ -1,124 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=riscv
UPLOAD_KEY=/root/.ssh/id_ed25519
host=$(hostname)
SPECS_DIR=${REPO_DIR}/releases/specs-qemu/riscv
EMAIL_SUBJECT_PREPEND="[riscv-qemu-auto]"
SETS="
lp64d_openrc_23
lp64d_systemd_23
lp64d_musl_23
lp64_openrc_23
lp64_systemd_23
lp64_musl_23
multilib_openrc_23
multilib_systemd_23
ilp32d_openrc_23
ilp32d_systemd_23
ilp32d_musl_23
ilp32_openrc_23
ilp32_systemd_23
ilp32_musl_23
"
SET_lp64d_musl_23_SPECS="stage1-lp64d-musl-23.spec stage3-lp64d-musl-23.spec"
SET_lp64d_openrc_23_SPECS="stage1-lp64d-openrc-23.spec stage3-lp64d-openrc-23.spec"
SET_lp64d_systemd_23_SPECS="stage1-lp64d-systemd-23.spec stage3-lp64d-systemd-23.spec"
SET_lp64_musl_23_SPECS="stage1-lp64-musl-23.spec stage3-lp64-musl-23.spec"
SET_lp64_openrc_23_SPECS="stage1-lp64-openrc-23.spec stage3-lp64-openrc-23.spec"
SET_lp64_systemd_23_SPECS="stage1-lp64-systemd-23.spec stage3-lp64-systemd-23.spec"
SET_multilib_openrc_23_SPECS="stage1-multilib-openrc-23.spec stage3-multilib-openrc-23.spec"
SET_multilib_systemd_23_SPECS="stage1-multilib-systemd-23.spec stage3-multilib-systemd-23.spec"
SET_ilp32d_musl_23_SPECS="rv32_ilp32d/stage1-ilp32d-musl-23.spec rv32_ilp32d/stage3-ilp32d-musl-23.spec"
SET_ilp32d_openrc_23_SPECS="rv32_ilp32d/stage1-ilp32d-openrc-23.spec rv32_ilp32d/stage3-ilp32d-openrc-23.spec"
SET_ilp32d_systemd_23_SPECS="rv32_ilp32d/stage1-ilp32d-systemd-23.spec rv32_ilp32d/stage3-ilp32d-systemd-23.spec"
SET_ilp32_musl_23_SPECS="rv32_ilp32/stage1-ilp32-musl-23.spec rv32_ilp32/stage3-ilp32-musl-23.spec"
SET_ilp32_openrc_23_SPECS="rv32_ilp32/stage1-ilp32-openrc-23.spec rv32_ilp32/stage3-ilp32-openrc-23.spec"
SET_ilp32_systemd_23_SPECS="rv32_ilp32/stage1-ilp32-systemd-23.spec rv32_ilp32/stage3-ilp32-systemd-23.spec"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}" >/dev/null
case ${spec} in
stage3-lp64d-openrc-23.spec)
upload builds/23.0-default/stage3-rv64_lp64d-openrc-${TIMESTAMP}*.xz*
;;
stage3-lp64d-systemd-23.spec)
upload builds/23.0-default/stage3-rv64_lp64d-systemd-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-default/stage3-rv64_lp64d riscv/23.0/rv64_lp64d
;;
stage3-lp64d-musl-23.spec)
upload builds/23.0-musl/stage3-rv64_lp64d_musl-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-musl/stage3-rv64_lp64d_musl riscv/23.0/rv64_lp64d_musl
;;
stage3-lp64-openrc-23.spec)
upload builds/23.0-default/stage3-rv64_lp64-openrc-${TIMESTAMP}*.xz*
;;
stage3-lp64-systemd-23.spec)
upload builds/23.0-default/stage3-rv64_lp64-systemd-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-default/stage3-rv64_lp64 riscv/23.0/rv64_lp64
;;
stage3-lp64-musl-23.spec)
upload builds/23.0-musl/stage3-rv64_lp64_musl-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-musl/stage3-rv64_lp64_musl riscv/23.0/rv64_lp64_musl
;;
stage3-multilib-openrc-23.spec)
upload builds/23.0-default/stage3-rv64_multilib-openrc-${TIMESTAMP}*.xz*
;;
stage3-multilib-systemd-23.spec)
upload builds/23.0-default/stage3-rv64_multilib-systemd-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-default/stage3-rv64_multilib riscv/23.0/rv64_multilib
;;
rv32_ilp32d/stage3-ilp32d-openrc-23.spec)
upload builds/23.0-default/stage3-rv32_ilp32d-openrc-${TIMESTAMP}*.xz*
;;
rv32_ilp32d/stage3-ilp32d-systemd-23.spec)
upload builds/23.0-default/stage3-rv32_ilp32d-systemd-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-default/stage3-rv32_ilp32d riscv/23.0/rv32_ilp32d
;;
rv32_ilp32d/stage3-ilp32d-musl-23.spec)
upload builds/23.0-musl/stage3-rv32_ilp32d_musl-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-musl/stage3-rv32_ilp32d_musl riscv/23.0/rv32_ilp32d_musl
;;
rv32_ilp32/stage3-ilp32-openrc-23.spec)
upload builds/23.0-default/stage3-rv32_ilp32-openrc-${TIMESTAMP}*.xz*
;;
rv32_ilp32/stage3-ilp32-systemd-23.spec)
upload builds/23.0-default/stage3-rv32_ilp32-systemd-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-default/stage3-rv32_ilp32 riscv/23.0/rv32_ilp32
;;
rv32_ilp32/stage3-ilp32-musl-23.spec)
upload builds/23.0-musl/stage3-rv32_ilp32_musl-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-musl/stage3-rv32_ilp32_musl riscv/23.0/rv32_ilp32_musl
;;
*)
echo "Finished ${spec}"
;;
esac
popd >/dev/null
}

View file

@ -1,76 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=s390
UPLOAD_KEY=/root/.ssh/id_rsa
SPECS_DIR=${REPO_DIR}/releases/specs/s390
SETS="
openrc_64_23
systemd_64_23
openrc_32_23
systemd_32_23
"
SET_openrc_64_23_SPECS="s390x/stage1-openrc-23.spec s390x/stage3-openrc-23.spec"
SET_openrc_64_23_OPTIONAL_SPECS="s390x/netboot/netboot.spec"
SET_systemd_64_23_SPECS="s390x/stage1-systemd-23.spec s390x/stage3-systemd-23.spec"
SET_openrc_32_23_SPECS="s390/stage1-openrc-23.spec s390/stage3-openrc-23.spec"
SET_openrc_32_23_OPTIONAL_SPECS="s390/netboot/netboot.spec"
SET_systemd_32_23_SPECS="s390/stage1-systemd-23.spec s390/stage3-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/s390
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3-s390*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
s390x/stage3-openrc-23.spec)
upload stage3-s390x-openrc-${TIMESTAMP}.tar.xz*
;;
s390x/stage3-systemd-23.spec)
upload stage3-s390x-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-s390x" s390/23.0/s390x
;;
s390/stage3-openrc-23.spec)
upload stage3-s390-openrc-${TIMESTAMP}.tar.xz*
;;
s390/stage3-systemd-23.spec)
upload stage3-s390-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-s390" s390/23.0/s390
;;
s390x/netboot/netboot.spec)
ls -l netboot-s390x-${TIMESTAMP}/
mv -v netboot-s390x-${TIMESTAMP}/kernels/netboot64 netboot-s390x-${TIMESTAMP}/netboot-s390x-kernel-${TIMESTAMP}
mv -v netboot-s390x-${TIMESTAMP}/kernels/misc/netboot64.igz netboot-s390x-${TIMESTAMP}/netboot-s390x-initramfs-${TIMESTAMP}
upload netboot-s390x-${TIMESTAMP}/netboot*
;;
s390/netboot/netboot.spec)
ls -l netboot-s390-${TIMESTAMP}/kernels/
mv -v netboot-s390-${TIMESTAMP}/kernels/netboot netboot-s390-${TIMESTAMP}/netboot-s390-kernel-${TIMESTAMP}
mv -v netboot-s390-${TIMESTAMP}/kernels/misc/netboot.igz netboot-s390-${TIMESTAMP}/netboot-s390-initramfs-${TIMESTAMP}
upload netboot-s390-${TIMESTAMP}/netboot*
;;
esac
popd >/dev/null
}

View file

@ -1,69 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=sparc
UPLOAD_KEY=/root/.ssh/id_ed25519
SPECS_DIR=${REPO_DIR}/releases/specs/sparc
SETS="
openrc_32_23
systemd_32_23
openrc_64_23
systemd_64_23
"
SET_openrc_32_23_SPECS="sparc/stage1-openrc-23.spec sparc/stage3-openrc-23.spec"
SET_systemd_32_23_SPECS="sparc/stage1-systemd-23.spec sparc/stage3-systemd-23.spec"
SET_openrc_64_23_SPECS="sparc64/stage1-openrc-23.spec sparc64/stage3-openrc-23.spec"
SET_openrc_64_23_OPTIONAL_SPECS="sparc64/installcd-stage1.spec sparc64/installcd-stage2-minimal.spec"
SET_systemd_64_23_SPECS="sparc64/stage1-systemd-23.spec sparc64/stage3-systemd-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/sparc
EMAIL_SUBJECT_PREPEND="[sparc-auto]"
update_symlinks() {
# Symlink the latest stages3 to build from
local d f
for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null
for f in $(ls stage3-sparc-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
for f in $(ls stage3-sparc64-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}"
done
popd >/dev/null
done
}
post_build() {
local set=$1 spec=$2
pushd "${BUILD_SRCDIR_BASE}/builds/23.0-default" >/dev/null
case ${spec} in
sparc/stage3-openrc-23.spec)
upload stage3-sparc-openrc-${TIMESTAMP}*.xz*
;;
sparc/stage3-systemd-23.spec)
upload stage3-sparc-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-sparc" sparc/23.0/32
;;
sparc64/stage3-openrc-23.spec)
upload stage3-sparc64-openrc-${TIMESTAMP}*.xz*
;;
sparc64/stage3-systemd-23.spec)
upload stage3-sparc64-systemd-${TIMESTAMP}*.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-sparc64" sparc/23.0/64
;;
sparc64/installcd-stage2-minimal.spec)
upload *${TIMESTAMP}*.iso*
;;
esac
popd >/dev/null
}

View file

@ -1,123 +0,0 @@
# This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory.
UPLOAD_USER=x86
UPLOAD_KEY=/root/.ssh/id_ed25519
host=$(hostname)
EMAIL_SUBJECT_PREPEND="[x86-auto]"
SPECS_DIR=${REPO_DIR}/releases/specs/x86
SETS="
i486_openrc_23
i486_systemd_23
i686_openrc_23
i686_systemd_23
i686_ssemath_openrc_23
i686_ssemath_systemd_23
hardened_openrc_23
musl_23
"
SET_i486_openrc_23_SPECS="i486/stage1-openrc-23.spec i486/stage3-openrc-23.spec"
SET_i486_openrc_23_OPTIONAL_SPECS="i486/installcd-stage1-openrc.spec i486/installcd-stage2-minimal-openrc.spec"
SET_i486_systemd_23_SPECS="i486/stage1-systemd-23.spec i486/stage3-systemd-23.spec"
SET_i686_openrc_23_SPECS="i686/stage1-openrc-23.spec i686/stage3-openrc-23.spec"
SET_i686_systemd_23_SPECS="i686/stage1-systemd-23.spec i686/stage3-systemd-23.spec"
SET_i686_ssemath_openrc_23_SPECS="i686-ssemath/stage1-openrc-23.spec i686-ssemath/stage3-openrc-23.spec"
SET_i686_ssemath_systemd_23_SPECS="i686-ssemath/stage1-systemd-23.spec i686-ssemath/stage3-systemd-23.spec"
SET_hardened_openrc_23_SPECS="hardened/stage1-openrc-23.spec hardened/stage3-openrc-23.spec"
SET_hardened_openrc_23_OPTIONAL_SPECS="hardened/admincd-stage1-openrc.spec hardened/admincd-stage2-openrc.spec"
SET_musl_23_SPECS="musl/stage1-23.spec musl/stage3-23.spec"
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/x86
EXTENSIONS="@(.tar.xz|.tar.bz2|.tar.gz|.tar|.sfs)"
update_symlinks() {
# Symlink the latest stages3 to build from
for d in ${BUILD_SRCDIR_BASE}/builds/* ; do
mkdir -p "${d}"
pushd "${d}" >/dev/null || exit
shopt -s extglob
for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do
# 20yymmddThhmmssZ
# 20yymmddhhmmss
# 20yymmdd
# 20yy.n
of=$(perl -p \
-e 's/20\d{6}T\d{6}Z/latest/g;' \
-e 's/20\d{6}\d{6}/latest/g;' \
-e 's/20\d{6}/latest/g;' \
-e 's/20\d{2}\.\d{2}/latest/g;' \
<<<"$f")
ln -sf "$f" "$of"
done
popd >/dev/null || exit
done
}
post_build() {
local set=$1 spec=$2
pushd ${BUILD_SRCDIR_BASE}/builds/23.0-default >/dev/null || exit
case ${spec} in
i486/stage3-openrc-23.spec)
upload stage3-i486-openrc-${TIMESTAMP}.tar.xz*
;;
i486/stage3-systemd-23.spec)
upload stage3-i486-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-i486" x86/23.0/i486
;;
i486/installcd-stage2-minimal-openrc.spec)
upload install-x86-minimal-${TIMESTAMP}.iso*
;;
i686/stage3-openrc-23.spec)
upload stage3-i686-openrc-${TIMESTAMP}.tar.xz*
;;
i686/stage3-systemd-23.spec)
upload stage3-i686-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-i686" x86/23.0/i686
;;
i686-ssemath/stage3-openrc-23.spec)
upload stage3-i686-ssemath-openrc-${TIMESTAMP}.tar.xz*
;;
i686-ssemath/stage3-systemd-23.spec)
upload stage3-i686-ssemath-systemd-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-i686-ssemath" x86/23.0/i686-ssemath
;;
esac
popd >/dev/null || exit
pushd ${BUILD_SRCDIR_BASE}/builds/23.0-hardened >/dev/null || exit
case ${spec} in
hardened/stage3-openrc-23.spec)
upload stage3-i686-hardened-openrc-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-hardened/stage3-i686" x86/23.0/i686_hardened
;;
hardened/admincd-stage2-openrc.spec)
upload admincd-x86-${TIMESTAMP}.iso*
;;
esac
popd >/dev/null || exit
pushd ${BUILD_SRCDIR_BASE}/builds/23.0-musl >/dev/null || exit
case ${spec} in
musl/stage3-23.spec)
upload stage3-i686-musl-${TIMESTAMP}.tar.xz*
upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-musl/stage3-i686" x86/23.0/i686_musl
;;
esac
popd >/dev/null || exit
}
# vim:ft=sh: