2009-02-07 15:56:59 +00:00
|
|
|
# This is the config file for the catalyst-auto script. It should be pretty
|
|
|
|
# self-explanatory.
|
|
|
|
|
2021-01-30 23:43:40 +00:00
|
|
|
UPLOAD_USER=hppa
|
2022-04-22 23:27:54 +00:00
|
|
|
UPLOAD_KEY=/root/.ssh/id_ed25519
|
2020-04-29 01:16:29 +00:00
|
|
|
SPECS_DIR=${REPO_DIR}/releases/specs/hppa
|
2009-02-07 15:56:59 +00:00
|
|
|
|
2022-11-16 20:58:26 +00:00
|
|
|
SETS="hppa11_openrc hppa11_systemd hppa11_systemd_mu hppa20_openrc hppa20_systemd hppa20_systemd_mu"
|
2009-02-07 15:56:59 +00:00
|
|
|
|
2022-04-22 19:16:59 +00:00
|
|
|
SET_hppa11_openrc_SPECS="hppa1.1/stage1-openrc.spec hppa1.1/stage3-openrc.spec"
|
2022-04-25 23:25:41 +00:00
|
|
|
SET_hppa11_openrc_OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec netboot-hppa32.spec"
|
|
|
|
|
2022-04-22 19:16:59 +00:00
|
|
|
SET_hppa11_systemd_SPECS="hppa1.1/stage1-systemd.spec hppa1.1/stage3-systemd.spec"
|
2009-07-01 03:12:29 +00:00
|
|
|
|
2022-11-16 20:58:26 +00:00
|
|
|
SET_hppa11_systemd_mu_SPECS="hppa1.1/stage1-systemd-mu.spec hppa1.1/stage3-systemd-mu.spec"
|
|
|
|
|
2022-04-22 19:04:58 +00:00
|
|
|
SET_hppa20_openrc_SPECS="hppa2.0/stage1-openrc.spec hppa2.0/stage3-openrc.spec"
|
2022-04-25 23:25:41 +00:00
|
|
|
SET_hppa20_openrc_OPTIONAL_SPECS="netboot-hppa64.spec"
|
2009-02-07 15:56:59 +00:00
|
|
|
|
2022-04-25 23:25:41 +00:00
|
|
|
SET_hppa20_systemd_SPECS="hppa2.0/stage1-systemd.spec hppa2.0/stage3-systemd.spec"
|
2014-01-19 18:46:34 +00:00
|
|
|
|
2022-11-16 20:58:26 +00:00
|
|
|
SET_hppa20_systemd_mu_SPECS="hppa2.0/stage1-systemd-mu.spec hppa2.0/stage3-systemd-mu.spec"
|
|
|
|
|
2020-04-29 01:16:29 +00:00
|
|
|
KCONFIG_DIR=${REPO_DIR}/releases/kconfig/hppa
|
2009-02-07 15:56:59 +00:00
|
|
|
|
|
|
|
EMAIL_SUBJECT_PREPEND="[hppa-auto]"
|
|
|
|
|
2018-01-16 01:44:31 +00:00
|
|
|
update_symlinks() {
|
2018-01-16 07:01:19 +00:00
|
|
|
# Symlink the latest stages3 to build from
|
|
|
|
local d f t
|
|
|
|
for d in "${BUILD_SRCDIR_BASE}/builds/default" ; do
|
|
|
|
pushd "${d}" >/dev/null
|
|
|
|
for t in hppa1.1 hppa2.0; do
|
2022-04-22 23:34:17 +00:00
|
|
|
for f in $(ls stage3-${t}-*bz2 stage3-${t}-*xz | grep -v latest | give_latest_from_dates) ; do
|
2018-01-16 07:01:19 +00:00
|
|
|
local of=$(echo "${f}" | convert_filename)
|
|
|
|
ln -sf "${f}" "${of}"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
popd >/dev/null
|
|
|
|
done
|
2009-02-07 15:56:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_build() {
|
2018-01-16 01:52:14 +00:00
|
|
|
local set=$1 spec=$2
|
|
|
|
|
|
|
|
pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
|
|
|
|
|
|
|
|
case ${spec} in
|
2021-09-10 21:45:21 +00:00
|
|
|
netboot-hppa32.spec)
|
|
|
|
mv netboot-hppa1.1-${TIMESTAMP}/netboot32-hppa.lif netboot-hppa1.1-${TIMESTAMP}/netboot-hppa32-${TIMESTAMP}.lif
|
|
|
|
upload netboot-hppa1.1-${TIMESTAMP}/netboot-hppa32-${TIMESTAMP}.lif
|
2018-01-16 01:52:14 +00:00
|
|
|
;;
|
2021-09-10 21:45:21 +00:00
|
|
|
netboot-hppa64.spec)
|
|
|
|
mv netboot-hppa2.0-${TIMESTAMP}/netboot64-hppa.lif netboot-hppa2.0-${TIMESTAMP}/netboot-hppa64-${TIMESTAMP}.lif
|
|
|
|
upload netboot-hppa2.0-${TIMESTAMP}/netboot-hppa64-${TIMESTAMP}.lif
|
2018-01-16 01:52:14 +00:00
|
|
|
;;
|
|
|
|
installcd-stage2-minimal.spec)
|
2018-01-16 07:01:19 +00:00
|
|
|
upload install-hppa-minimal-*${TIMESTAMP}*.iso*
|
2018-01-16 01:52:14 +00:00
|
|
|
;;
|
2022-04-22 19:16:59 +00:00
|
|
|
hppa1.1/stage3-openrc.spec)
|
2022-04-22 23:34:17 +00:00
|
|
|
upload stage3-hppa1.1-openrc-*${TIMESTAMP}*.xz*
|
2022-04-22 19:16:59 +00:00
|
|
|
;;
|
|
|
|
hppa1.1/stage3-systemd.spec)
|
2022-04-22 23:34:17 +00:00
|
|
|
upload stage3-hppa1.1-systemd-*${TIMESTAMP}*.xz*
|
2018-01-16 01:52:14 +00:00
|
|
|
;;
|
2022-11-16 20:58:26 +00:00
|
|
|
hppa1.1/stage3-systemd-mu.spec)
|
|
|
|
upload stage3-hppa1.1-systemd-mergedusr-*${TIMESTAMP}*.xz*
|
|
|
|
;;
|
2022-04-22 18:58:58 +00:00
|
|
|
hppa2.0/stage3-openrc.spec)
|
2022-04-24 12:33:30 +00:00
|
|
|
upload stage3-hppa2.0-openrc-*${TIMESTAMP}*.xz*
|
2022-04-22 19:04:58 +00:00
|
|
|
;;
|
|
|
|
hppa2.0/stage3-systemd.spec)
|
2022-04-24 12:33:30 +00:00
|
|
|
upload stage3-hppa2.0-systemd-*${TIMESTAMP}*.xz*
|
2018-01-16 01:52:14 +00:00
|
|
|
;;
|
2022-11-16 20:58:26 +00:00
|
|
|
hppa2.0/stage3-systemd-mu.spec)
|
|
|
|
upload stage3-hppa2.0-systemd-mergedusr-*${TIMESTAMP}*.xz*
|
|
|
|
;;
|
2021-01-31 23:06:09 +00:00
|
|
|
*)
|
|
|
|
echo "Finished ${spec}"
|
|
|
|
;;
|
2018-01-16 01:52:14 +00:00
|
|
|
esac
|
|
|
|
|
|
|
|
popd >/dev/null
|
2011-01-18 04:45:27 +00:00
|
|
|
}
|