catalyst-auto-ppc64le.conf: Move from catalyst-auto-ppc64.conf

catalyst-auto-ppc64.conf is no longer used since ppc and ppc64 builds
are done from catalyst-auto-ppc.conf. Repurpose (and rename) this file
to be used by ppc64le.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner 2019-01-05 15:01:48 -08:00
parent 9508b899ce
commit 12f78e9aa3

View file

@ -1,7 +1,7 @@
# This is the config file for the catalyst-auto script. It should be pretty # This is the config file for the catalyst-auto script. It should be pretty
# self-explanatory. # self-explanatory.
SPECS_DIR=${REPO_DIR}/releases/weekly/specs/ppc/ppc64 SPECS_DIR=${REPO_DIR}/releases/weekly/specs/ppc/ppc64le
SPECS="stage1.spec stage3.spec" SPECS="stage1.spec stage3.spec"
@ -13,7 +13,7 @@ SPECS="stage1.spec stage3.spec"
KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/powerpc KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/powerpc
EMAIL_SUBJECT_PREPEND="[ppc64-auto]" EMAIL_SUBJECT_PREPEND="[ppc64le-auto]"
give_latest_from_dates() { give_latest_from_dates() {
sed 's,-20,~20,g' | \ sed 's,-20,~20,g' | \
@ -37,9 +37,9 @@ convert_filename() {
update_symlinks() { update_symlinks() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
local d f t local d f t
for d in "${BUILD_SRCDIR_BASE}/builds/default/ppc64" ; do for d in "${BUILD_SRCDIR_BASE}/builds/default/ppc64le" ; do
pushd "${d}" >/dev/null pushd "${d}" >/dev/null
for t in ppc64; do for t in ppc64le; do
for f in $(ls stage3-${t}-*xz | grep -v latest | give_latest_from_dates) ; do for f in $(ls stage3-${t}-*xz | grep -v latest | give_latest_from_dates) ; do
local of=$(echo "${f}" | convert_filename) local of=$(echo "${f}" | convert_filename)
ln -sf "${f}" "${of}" ln -sf "${f}" "${of}"
@ -63,7 +63,7 @@ post_build() {
upload *${TIMESTAMP}*.iso* upload *${TIMESTAMP}*.iso*
;; ;;
stage3*.spec) stage3*.spec)
upload stage3-ppc64-*${TIMESTAMP}*.xz* upload stage3-ppc64le-*${TIMESTAMP}*.xz*
;; ;;
esac esac