From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 finch.gentoo.org (Postfix) with ESMTPS id DCCEF1584AD for ; Tue, 22 Apr 2025 15:55:59 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BFE8D342F9D for ; Tue, 22 Apr 2025 15:55:59 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B18AA1104B1; Tue, 22 Apr 2025 15:55:58 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A54A01104B1 for ; Tue, 22 Apr 2025 15:55:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 56143342F9D for ; Tue, 22 Apr 2025 15:55:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4FF12547 for ; Tue, 22 Apr 2025 15:55:56 +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: <1745337334.e2a8f92c28ba9f3745c45fbfe68ac645b29a99f7.dilfridge@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto-qemu-sparc64.conf X-VCS-Directories: tools/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: e2a8f92c28ba9f3745c45fbfe68ac645b29a99f7 X-VCS-Branch: master Date: Tue, 22 Apr 2025 15:55:56 +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: 639aa166-8150-4335-b528-36f9ca4fd898 X-Archives-Hash: 874d486cffe199991066e8bea8e9f1f2 commit: e2a8f92c28ba9f3745c45fbfe68ac645b29a99f7 Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue Apr 22 15:55:34 2025 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Apr 22 15:55:34 2025 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=e2a8f92c Add sparc qemu config file Signed-off-by: Andreas K. Hüttel gentoo.org> tools/catalyst-auto-qemu-sparc64.conf | 68 +++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/tools/catalyst-auto-qemu-sparc64.conf b/tools/catalyst-auto-qemu-sparc64.conf new file mode 100644 index 00000000..b5befb75 --- /dev/null +++ b/tools/catalyst-auto-qemu-sparc64.conf @@ -0,0 +1,68 @@ +# This is the config file for the catalyst-auto script. It should be pretty +# self-explanatory. + +UPLOAD_USER=sparc +UPLOAD_KEY=/root/.ssh/id_ed25519 +SPECS_DIR=${REPO_DIR}/releases/specs-qemu/sparc +EMAIL_SUBJECT_PREPEND="[sparc-qemu-auto]" + +SETS=" + openrc_32_23 + systemd_32_23 + openrc_64_23 + systemd_64_23 +" + +SET_openrc_32_23_SPECS="sparc/stage1-openrc-23.spec sparc/stage3-openrc-23.spec" +SET_systemd_32_23_SPECS="sparc/stage1-systemd-23.spec sparc/stage3-systemd-23.spec" + +SET_openrc_64_23_SPECS="sparc64/stage1-openrc-23.spec sparc64/stage3-openrc-23.spec" +SET_openrc_64_23_OPTIONAL_SPECS="sparc64/installcd-stage1.spec sparc64/installcd-stage2-minimal.spec" +SET_systemd_64_23_SPECS="sparc64/stage1-systemd-23.spec sparc64/stage3-systemd-23.spec" + + +KCONFIG_DIR=${REPO_DIR}/releases/kconfig/sparc + +update_symlinks() { + # Symlink the latest stages3 to build from + local d f + for d in "${BUILD_SRCDIR_BASE}/builds"/* ; do + mkdir -p "${d}" + pushd "${d}" >/dev/null + for f in $(ls stage3-sparc-*xz | grep -v latest | give_latest_from_dates) ; do + local of=$(echo "${f}" | convert_filename) + ln -sf "${f}" "${of}" + done + for f in $(ls stage3-sparc64-*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/23.0-default" >/dev/null + case ${spec} in + sparc/stage3-openrc-23.spec) + upload stage3-sparc-openrc-${TIMESTAMP}*.xz* + ;; + sparc/stage3-systemd-23.spec) + upload stage3-sparc-systemd-${TIMESTAMP}*.xz* + upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-sparc" sparc/23.0/32 + ;; + sparc64/stage3-openrc-23.spec) + upload stage3-sparc64-openrc-${TIMESTAMP}*.xz* + ;; + sparc64/stage3-systemd-23.spec) + upload stage3-sparc64-systemd-${TIMESTAMP}*.xz* + upsync_binpackages "${BUILD_SRCDIR_BASE}/packages/23.0-default/stage3-sparc64" sparc/23.0/64 + ;; + sparc64/installcd-stage2-minimal.spec) + upload *${TIMESTAMP}*.iso* + ;; + esac + popd >/dev/null +}