From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43CBD15808B for ; Mon, 21 Feb 2022 12:58:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E937E0993; Mon, 21 Feb 2022 12:58:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 754FAE0993 for ; Mon, 21 Feb 2022 12:58:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 330A63436FB for ; Mon, 21 Feb 2022 12:58:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3C972A4 for ; Mon, 21 Feb 2022 12:58:46 +0000 (UTC) From: "Andreas K. Hüttel" 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" Message-ID: <1645448307.1e2d304a58a1d39f82985fb7a6f35372f473cc4d.dilfridge@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto-mips.conf X-VCS-Directories: tools/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 1e2d304a58a1d39f82985fb7a6f35372f473cc4d X-VCS-Branch: master Date: Mon, 21 Feb 2022 12:58:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f391714-9f04-487e-abe0-7a7b7a591ff3 X-Archives-Hash: 94364ed4b6f44ae3de19c46e280159a7 commit: 1e2d304a58a1d39f82985fb7a6f35372f473cc4d Author: Andreas K. Hüttel gentoo org> AuthorDate: Mon Feb 21 12:58:27 2022 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Mon Feb 21 12:58:27 2022 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=1e2d304a Add mips autocatalyst file Signed-off-by: Andreas K. Hüttel gentoo.org> tools/catalyst-auto-mips.conf | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/tools/catalyst-auto-mips.conf b/tools/catalyst-auto-mips.conf new file mode 100644 index 00000000..93055aa7 --- /dev/null +++ b/tools/catalyst-auto-mips.conf @@ -0,0 +1,44 @@ +# 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 + + +SETS="mips64len64" + +SET_mips64len64_SPECS="stage1-mips64le-n64-openrc.spec stage3-mips64le-n64-openrc.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/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 + stage3-mips64le-n64-openrc.spec) + upload stage3-mips64le_n64-openrc-${TIMESTAMP}.xz* + ;; + *) + echo "Finished ${spec}" + ;; + esac + + popd >/dev/null +}