From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1316673-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E31D015801A for <garchives@archives.gentoo.org>; Sun, 29 Aug 2021 13:54:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 339B5E087E; Sun, 29 Aug 2021 13:54:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A3FDE086D for <gentoo-commits@lists.gentoo.org>; Sun, 29 Aug 2021 13:54:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C91C335DA3 for <gentoo-commits@lists.gentoo.org>; Sun, 29 Aug 2021 13:54:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01C2E7A for <gentoo-commits@lists.gentoo.org>; Sun, 29 Aug 2021 13:54:55 +0000 (UTC) From: "Andreas K. Hüttel" <dilfridge@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" <dilfridge@gentoo.org> Message-ID: <1630245279.8aca038fbe13cba651d3c028ddf66cf5eb949619.dilfridge@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto-arm.conf X-VCS-Directories: tools/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 8aca038fbe13cba651d3c028ddf66cf5eb949619 X-VCS-Branch: master Date: Sun, 29 Aug 2021 13:54:55 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57cb5c3b-20fd-4734-8ff6-396a5b8c53ed X-Archives-Hash: 4338161fd5ad1c5333baab2bfd4c8d7b commit: 8aca038fbe13cba651d3c028ddf66cf5eb949619 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sun Aug 29 13:40:54 2021 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sun Aug 29 13:54:39 2021 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=8aca038f Copy catalyst-auto arm config for native builds on jiji Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> tools/catalyst-auto-arm.conf | 106 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) diff --git a/tools/catalyst-auto-arm.conf b/tools/catalyst-auto-arm.conf new file mode 100644 index 00000000..643fd258 --- /dev/null +++ b/tools/catalyst-auto-arm.conf @@ -0,0 +1,106 @@ +# This is the config file for the catalyst-auto script. It should be pretty +# self-explanatory. + +UPLOAD_USER=arm +UPLOAD_KEY=/root/.ssh/id_rsa + +host=$(hostname) + +SPECS_DIR=${REPO_DIR}/releases/specs/arm + +EMAIL_SUBJECT_PREPEND="[arm-auto]" + +SETS=" + armv4tl + armv5tel + armv6j_hf + armv6j_sf + armv7a_hf + armv7a_sf + armv4tl_systemd + armv5tel_systemd + armv6j_hf_systemd + armv6j_sf_systemd + armv7a_hf_systemd + armv7a_sf_systemd +" + +SET_armv4tl_SPECS="armv4tl/stage1.spec armv4tl/stage3.spec" +SET_armv4tl_systemd_SPECS="armv4tl/stage1-systemd.spec armv4tl/stage3-systemd.spec" + +SET_armv5tel_SPECS="armv5tel/stage1.spec armv5tel/stage3.spec" +SET_armv5tel_systemd_SPECS="armv5tel/stage1-systemd.spec armv5tel/stage3-systemd.spec" + +SET_armv6j_hf_SPECS="armv6j/stage1-hardfloat.spec armv6j/stage3-hardfloat.spec" +SET_armv6j_sf_SPECS="armv6j/stage1.spec armv6j/stage3.spec" +SET_armv6j_hf_systemd_SPECS="armv6j/stage1-hardfloat-systemd.spec armv6j/stage3-hardfloat-systemd.spec" +SET_armv6j_sf_systemd_SPECS="armv6j/stage1-systemd.spec armv6j/stage3-systemd.spec" + +SET_armv7a_hf_SPECS="armv7a/stage1-hardfloat.spec armv7a/stage3-hardfloat.spec" +SET_armv7a_sf_SPECS="armv7a/stage1.spec armv7a/stage3.spec" +SET_armv7a_hf_systemd_SPECS="armv7a/stage1-hardfloat-systemd.spec armv7a/stage3-hardfloat-systemd.spec" +SET_armv7a_sf_systemd_SPECS="armv7a/stage1-systemd.spec armv7a/stage3-systemd.spec" + + +update_symlinks() { + # Symlink the latest stages3 to build from + local d f + for d in "${BUILD_SRCDIR_BASE}/builds/default" ; do + 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/default" >/dev/null + + case ${spec} in + armv4tl/stage3.spec) + upload stage3-armv4tl-${TIMESTAMP}*.xz* + ;; + armv4tl/stage3-systemd.spec) + upload stage3-armv4tl-systemd-${TIMESTAMP}*.xz* + ;; + armv5tel/stage3.spec) + upload stage3-armv5tel-${TIMESTAMP}*.xz* + ;; + armv5tel/stage3-systemd.spec) + upload stage3-armv5tel-systemd-${TIMESTAMP}*.xz* + ;; + armv6j/stage3.spec) + upload stage3-armv6j-${TIMESTAMP}*.xz* + ;; + armv6j/stage3-systemd.spec) + upload stage3-armv6j-systemd-${TIMESTAMP}*.xz* + ;; + armv6j/stage3-hardfloat.spec) + upload stage3-armv6j_hardfp-${TIMESTAMP}*.xz* + ;; + armv6j/stage3-hardfloat-systemd.spec) + upload stage3-armv6j_hardfp-systemd-${TIMESTAMP}*.xz* + ;; + armv7a/stage3.spec) + upload stage3-armv7a-${TIMESTAMP}*.xz* + ;; + armv7a/stage3-systemd.spec) + upload stage3-armv7a-systemd-${TIMESTAMP}*.xz* + ;; + armv7a/stage3-hardfloat.spec) + upload stage3-armv7a_hardfp-${TIMESTAMP}*.xz* + ;; + armv7a/stage3-hardfloat-systemd.spec) + upload stage3-armv7a_hardfp-systemd-${TIMESTAMP}*.xz* + ;; + *) + echo "Finished ${spec}" + ;; + esac + + popd >/dev/null +}