2009-01-02 21:51:35 +00:00
|
|
|
# This is the config file for the catalyst-auto script. It should be pretty
|
|
|
|
# self-explanatory.
|
|
|
|
|
2016-05-20 02:17:41 +00:00
|
|
|
SPECS_DIR=${REPO_DIR}/releases/weekly/specs/ia64
|
2009-01-02 21:51:35 +00:00
|
|
|
|
2019-09-05 15:48:26 +00:00
|
|
|
SPECS="stage1.spec stage3.spec"
|
2009-01-02 21:51:35 +00:00
|
|
|
#SPECS="${SPECS} installcd-stage1.spec installcd-stage2-minimal.spec"
|
|
|
|
#SPECS="${SPECS} stage2-desktop.spec stage3-desktop.spec"
|
|
|
|
#SPECS="${SPECS} livecd-stage1.spec livecd-stage2.spec"
|
|
|
|
|
|
|
|
OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec"
|
|
|
|
|
2016-05-20 02:17:41 +00:00
|
|
|
KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/ia64
|
2009-01-02 21:51:35 +00:00
|
|
|
|
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
|
|
|
|
for d in "${BUILD_SRCDIR_BASE}/builds/default" ; do
|
|
|
|
pushd "${d}" >/dev/null
|
2019-10-06 16:26:21 +00:00
|
|
|
for f in $(ls stage3*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
|
|
|
|
popd >/dev/null
|
|
|
|
done
|
2009-01-02 21:51:35 +00:00
|
|
|
}
|
|
|
|
|
2018-01-16 01:52:14 +00:00
|
|
|
upload() {
|
2020-04-26 04:52:40 +00:00
|
|
|
rsync -e 'ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ia64@releng-incoming.gentoo.org:
|
2018-01-16 01:52:14 +00:00
|
|
|
}
|
2013-08-14 17:40:22 +00:00
|
|
|
|
2009-01-02 21:51:35 +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
|
|
|
|
installcd-stage2*)
|
2018-01-16 07:01:19 +00:00
|
|
|
upload *${TIMESTAMP}*.iso*
|
2018-01-16 01:52:14 +00:00
|
|
|
;;
|
|
|
|
stage3.spec)
|
2019-10-06 16:26:21 +00:00
|
|
|
upload stage3-*${TIMESTAMP}*.xz*
|
2018-01-16 01:52:14 +00:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
popd >/dev/null
|
2009-01-02 21:51:35 +00:00
|
|
|
}
|