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 BA9FE158086 for ; Sun, 31 Oct 2021 17:46:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1297DE081A; Sun, 31 Oct 2021 17:46:00 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECABCE081A for ; Sun, 31 Oct 2021 17:45:59 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2972342DF6 for ; Sun, 31 Oct 2021 17:45:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E92D910C for ; Sun, 31 Oct 2021 17:45: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: <1635702335.9e885d861f558574335a25a1d34f84c8722616f2.dilfridge@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: scripts/ X-VCS-Repository: proj/releng X-VCS-Files: scripts/copy_buildsync.sh X-VCS-Directories: scripts/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 9e885d861f558574335a25a1d34f84c8722616f2 X-VCS-Branch: master Date: Sun, 31 Oct 2021 17:45: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: 69b6f7f3-c066-44cf-9d59-f5e04704de4c X-Archives-Hash: 14cffd30e82217708d7bec4fe3068732 commit: 9e885d861f558574335a25a1d34f84c8722616f2 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Oct 31 17:38:54 2021 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sun Oct 31 17:45:35 2021 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=9e885d86 Do not advertise a "current stage3" or a "current iso" in general Signed-off-by: Andreas K. Hüttel gentoo.org> scripts/copy_buildsync.sh | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh index 886d3819..9f56f44a 100755 --- a/scripts/copy_buildsync.sh +++ b/scripts/copy_buildsync.sh @@ -152,34 +152,13 @@ process_arch() { if [ -n "${iso_list}" ]; then echo -e "${header}" >"${OUT_ISO}" # Some arches produce more than one type of iso. - # Only apply the current-iso link logic to them. - # TODO: Should make this dynamic based on the iso list. - case ${ARCH} in - amd64|x86) - rm -f current-iso - ;; - *) - echo -e "${iso_list}" |awk '{print $3}' | grep "$latest_iso_date" >>${OUT_ISO} - ln -sfT "$latest_iso_date" current-iso - ;; - esac + # So let's not advertise a current one via a symlink in general. + rm -f current-iso fi if [ -n "${stage3_list}" ]; then echo -e "${header}" >"${OUT_STAGE3}" - - # In the new variant preserve code there is a better way to do this - #echo -e "${stage3_list}" |awk '{print $3}' |grep "$latest_stage3_date" >>${OUT_STAGE3} - - # The "latest stage3" concept works for only a few arches -- ones that - # do not have more than one stage3 target per arch (i.e. multilib, etc...). - case ${ARCH} in - amd64|arm|hppa|ppc|s390|sh|x86) - rm -f current-stage3 - ;; - *) - ln -sfT "$latest_stage3_date" current-stage3 - ;; - esac + # Dito for stage3 + rm -f current-stage3 fi # New variant preserve code