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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA291138334 for ; Mon, 2 Sep 2019 02:06:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11B78E0875; Mon, 2 Sep 2019 02:06:25 +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 D487AE0875 for ; Mon, 2 Sep 2019 02:06:24 +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 4182934A952 for ; Mon, 2 Sep 2019 02:06:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B529477D for ; Mon, 2 Sep 2019 02:06:21 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1567389899.492aacba77160895edd9e275c485b88b34b54fa9.mattst88@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto tools/catalyst-auto-alpha.conf tools/catalyst-auto-amd64-experimental.conf tools/catalyst-auto-amd64.conf tools/catalyst-auto-arm64.conf tools/catalyst-auto-armv4tl.conf tools/catalyst-auto-armv5tel.conf tools/catalyst-auto-armv6j.conf tools/catalyst-auto-armv6j_hardfp.conf tools/catalyst-auto-armv7a.conf tools/catalyst-auto-armv7a_hardfp.conf tools/catalyst-auto-hppa.conf tools/catalyst-auto-ia64.conf tools/catalyst-auto-ppc.conf tools/catalyst-auto-ppc64le.conf tools/catalyst-auto-s390.conf tools/catalyst-auto-s390x.conf tools/catalyst-auto-sparc64.conf tools/catalyst-auto-x86-experimental.conf tools/catalyst-auto-x86.conf X-VCS-Directories: tools/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 492aacba77160895edd9e275c485b88b34b54fa9 X-VCS-Branch: master Date: Mon, 2 Sep 2019 02:06:21 +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: f441a03b-0c63-4e20-bfe5-434d13bca4bb X-Archives-Hash: f8cc06d6aee66934f05ff683dec38c7c commit: 492aacba77160895edd9e275c485b88b34b54fa9 Author: Matt Turner gentoo org> AuthorDate: Mon Sep 2 02:04:59 2019 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Sep 2 02:04:59 2019 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=492aacba catalyst-auto: Combine common functions Signed-off-by: Matt Turner gentoo.org> tools/catalyst-auto | 19 +++++++++++++++++++ tools/catalyst-auto-alpha.conf | 19 ------------------- tools/catalyst-auto-amd64-experimental.conf | 10 ---------- tools/catalyst-auto-amd64.conf | 10 ---------- tools/catalyst-auto-arm64.conf | 19 ------------------- tools/catalyst-auto-armv4tl.conf | 11 ----------- tools/catalyst-auto-armv5tel.conf | 11 ----------- tools/catalyst-auto-armv6j.conf | 11 ----------- tools/catalyst-auto-armv6j_hardfp.conf | 11 ----------- tools/catalyst-auto-armv7a.conf | 11 ----------- tools/catalyst-auto-armv7a_hardfp.conf | 11 ----------- tools/catalyst-auto-hppa.conf | 19 ------------------- tools/catalyst-auto-ia64.conf | 19 ------------------- tools/catalyst-auto-ppc.conf | 19 ------------------- tools/catalyst-auto-ppc64le.conf | 19 ------------------- tools/catalyst-auto-s390.conf | 19 ------------------- tools/catalyst-auto-s390x.conf | 19 ------------------- tools/catalyst-auto-sparc64.conf | 19 ------------------- tools/catalyst-auto-x86-experimental.conf | 10 ---------- tools/catalyst-auto-x86.conf | 10 ---------- 20 files changed, 19 insertions(+), 277 deletions(-) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index 6aac1cc4..de0afd69 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -165,6 +165,25 @@ parse_args() { done } +give_latest_from_dates() { + sed 's,-20,~20,g' | \ + sort -k +1 -n -t '~' |\ + awk -F\~ \ + 'BEGIN{i=$1; o=$0}; + { if($1 != i && i != "") { print o; }; i=$1; o=$0; } + END { print o; };' | \ + tr '~' '-' +} + +# Replace the date/time stamp in the filename to "latest". +# Forms we handle: +# stage3-xxx-2018.0.tar.bz2 +# stage3-xxx-20180116.tar.bz2 +# stage3-xxx-20180116T015819Z.tar.bz2 +convert_filename() { + sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' +} + # Let's get our own namespaces/etc... to avoid leaking crap. containerize() { # If we've already relaunched, nothing to do. diff --git a/tools/catalyst-auto-alpha.conf b/tools/catalyst-auto-alpha.conf index 525c2a26..b218fa0e 100644 --- a/tools/catalyst-auto-alpha.conf +++ b/tools/catalyst-auto-alpha.conf @@ -17,25 +17,6 @@ SET_default_SPECS="stage1.spec stage3.spec" SET_default_OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec" KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/alpha - -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.bz2 -# stage3-xxx-20180116.tar.bz2 -# stage3-xxx-20180116T015819Z.tar.bz2 -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} update_symlinks() { # Symlink the latest stages3 to build from diff --git a/tools/catalyst-auto-amd64-experimental.conf b/tools/catalyst-auto-amd64-experimental.conf index 70963a0a..37e01bd1 100644 --- a/tools/catalyst-auto-amd64-experimental.conf +++ b/tools/catalyst-auto-amd64-experimental.conf @@ -40,16 +40,6 @@ KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/${ARCH} EXTENSIONS="[.tar.xz,.tar.bz2,.tar.gz,.tar,.sfs]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' | \ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do diff --git a/tools/catalyst-auto-amd64.conf b/tools/catalyst-auto-amd64.conf index 9b799645..c2e0c8b1 100644 --- a/tools/catalyst-auto-amd64.conf +++ b/tools/catalyst-auto-amd64.conf @@ -41,16 +41,6 @@ KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/${ARCH} EXTENSIONS="[.tar.xz,.tar.bz2,.tar.gz,.tar,.sfs]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' | \ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do diff --git a/tools/catalyst-auto-arm64.conf b/tools/catalyst-auto-arm64.conf index c1320a96..0d1506a4 100644 --- a/tools/catalyst-auto-arm64.conf +++ b/tools/catalyst-auto-arm64.conf @@ -15,25 +15,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.bz2 -# stage3-xxx-20180116.tar.bz2 -# stage3-xxx-20180116T015819Z.tar.bz2 -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} - update_symlinks() { # Symlink the latest stages3 to build from local d f diff --git a/tools/catalyst-auto-armv4tl.conf b/tools/catalyst-auto-armv4tl.conf index 9ae84d5e..fa20b5ca 100644 --- a/tools/catalyst-auto-armv4tl.conf +++ b/tools/catalyst-auto-armv4tl.conf @@ -15,17 +15,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/builds/default ; do diff --git a/tools/catalyst-auto-armv5tel.conf b/tools/catalyst-auto-armv5tel.conf index 072b8d8a..79975984 100644 --- a/tools/catalyst-auto-armv5tel.conf +++ b/tools/catalyst-auto-armv5tel.conf @@ -15,17 +15,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/builds/default ; do diff --git a/tools/catalyst-auto-armv6j.conf b/tools/catalyst-auto-armv6j.conf index 9a14ddf9..0db433fa 100644 --- a/tools/catalyst-auto-armv6j.conf +++ b/tools/catalyst-auto-armv6j.conf @@ -15,17 +15,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/builds/default ; do diff --git a/tools/catalyst-auto-armv6j_hardfp.conf b/tools/catalyst-auto-armv6j_hardfp.conf index f3295b22..ca12d89d 100644 --- a/tools/catalyst-auto-armv6j_hardfp.conf +++ b/tools/catalyst-auto-armv6j_hardfp.conf @@ -15,17 +15,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/builds/default ; do diff --git a/tools/catalyst-auto-armv7a.conf b/tools/catalyst-auto-armv7a.conf index 66911204..1b13c6b5 100644 --- a/tools/catalyst-auto-armv7a.conf +++ b/tools/catalyst-auto-armv7a.conf @@ -15,17 +15,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/builds/default ; do diff --git a/tools/catalyst-auto-armv7a_hardfp.conf b/tools/catalyst-auto-armv7a_hardfp.conf index 4dd146f5..c3037712 100644 --- a/tools/catalyst-auto-armv7a_hardfp.conf +++ b/tools/catalyst-auto-armv7a_hardfp.conf @@ -15,17 +15,6 @@ SET_default_SPECS="stage1.spec stage2.spec stage3.spec" EMAIL_SUBJECT_PREPEND="[${SUBARCH}-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/builds/default ; do diff --git a/tools/catalyst-auto-hppa.conf b/tools/catalyst-auto-hppa.conf index f838c940..5444cc4e 100644 --- a/tools/catalyst-auto-hppa.conf +++ b/tools/catalyst-auto-hppa.conf @@ -17,25 +17,6 @@ KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/hppa EMAIL_SUBJECT_PREPEND="[hppa-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.bz2 -# stage3-xxx-20180116.tar.bz2 -# stage3-xxx-20180116T015819Z.tar.bz2 -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} - update_symlinks() { # Symlink the latest stages3 to build from local d f t diff --git a/tools/catalyst-auto-ia64.conf b/tools/catalyst-auto-ia64.conf index 950a9b48..438a5757 100644 --- a/tools/catalyst-auto-ia64.conf +++ b/tools/catalyst-auto-ia64.conf @@ -12,25 +12,6 @@ OPTIONAL_SPECS="installcd-stage1.spec installcd-stage2-minimal.spec" KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/ia64 -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.bz2 -# stage3-xxx-20180116.tar.bz2 -# stage3-xxx-20180116T015819Z.tar.bz2 -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} - update_symlinks() { # Symlink the latest stages3 to build from local d f diff --git a/tools/catalyst-auto-ppc.conf b/tools/catalyst-auto-ppc.conf index f88c5ce0..59572644 100644 --- a/tools/catalyst-auto-ppc.conf +++ b/tools/catalyst-auto-ppc.conf @@ -13,25 +13,6 @@ OPTIONAL_SPECS="ppc32/installcd-stage1.spec ppc32/installcd-stage2-minimal.spec" KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/powerpc EMAIL_SUBJECT_PREPEND="[ppc-auto]" - -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.xz -# stage3-xxx-20180116.tar.xz -# stage3-xxx-20180116T015819Z.tar.xz -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} update_symlinks() { # Symlink the latest stages3 to build from diff --git a/tools/catalyst-auto-ppc64le.conf b/tools/catalyst-auto-ppc64le.conf index 1b353864..76e1bdf5 100644 --- a/tools/catalyst-auto-ppc64le.conf +++ b/tools/catalyst-auto-ppc64le.conf @@ -14,25 +14,6 @@ SPECS="stage1.spec stage3.spec" KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/powerpc EMAIL_SUBJECT_PREPEND="[ppc64le-auto]" - -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.xz -# stage3-xxx-20180116.tar.xz -# stage3-xxx-20180116T015819Z.tar.xz -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} update_symlinks() { # Symlink the latest stages3 to build from diff --git a/tools/catalyst-auto-s390.conf b/tools/catalyst-auto-s390.conf index 30d78e76..b48c7536 100644 --- a/tools/catalyst-auto-s390.conf +++ b/tools/catalyst-auto-s390.conf @@ -12,25 +12,6 @@ SET_netboot_SPECS="netboot/netboot.spec" KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/s390 -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.xz -# stage3-xxx-20180116.tar.xz -# stage3-xxx-20180116T015819Z.tar.xz -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} - update_symlinks() { # Symlink the latest stages3 to build from local d f diff --git a/tools/catalyst-auto-s390x.conf b/tools/catalyst-auto-s390x.conf index e56b4c81..c9f3f7e9 100644 --- a/tools/catalyst-auto-s390x.conf +++ b/tools/catalyst-auto-s390x.conf @@ -12,25 +12,6 @@ SET_netboot_SPECS="netboot/netboot.spec" KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/s390 -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.xz -# stage3-xxx-20180116.tar.xz -# stage3-xxx-20180116T015819Z.tar.xz -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} - update_symlinks() { # Symlink the latest stages3 to build from local d f diff --git a/tools/catalyst-auto-sparc64.conf b/tools/catalyst-auto-sparc64.conf index 056218dd..32d23b65 100644 --- a/tools/catalyst-auto-sparc64.conf +++ b/tools/catalyst-auto-sparc64.conf @@ -10,25 +10,6 @@ KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/sparc EMAIL_SUBJECT_PREPEND="[sparc-auto]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - -# Replace the date/time stamp in the filename to "latest". -# Forms we handle: -# stage3-xxx-2018.0.tar.xz -# stage3-xxx-20180116.tar.xz -# stage3-xxx-20180116T015819Z.tar.xz -convert_filename() { - sed -E 's:-20[0-9]+(\.[0-9]+|T[0-9]+Z)?:-latest:g' -} - update_symlinks() { # Symlink the latest stages3 to build from local d f diff --git a/tools/catalyst-auto-x86-experimental.conf b/tools/catalyst-auto-x86-experimental.conf index 9092e577..2373041e 100644 --- a/tools/catalyst-auto-x86-experimental.conf +++ b/tools/catalyst-auto-x86-experimental.conf @@ -27,16 +27,6 @@ KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/${ARCH} EXTENSIONS="[.tar.xz,.tar.bz2,.tar.gz,.tar,.sfs]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do diff --git a/tools/catalyst-auto-x86.conf b/tools/catalyst-auto-x86.conf index d2042559..064881d4 100644 --- a/tools/catalyst-auto-x86.conf +++ b/tools/catalyst-auto-x86.conf @@ -27,16 +27,6 @@ KCONFIG_DIR=${REPO_DIR}/releases/weekly/kconfig/${ARCH} EXTENSIONS="[.tar.xz,.tar.bz2,.tar.gz,.tar,.sfs]" -give_latest_from_dates() { - sed 's,-20,~20,g' | \ - sort -k +1 -n -t '~' |\ - awk -F\~ \ - 'BEGIN{i=$1; o=$0}; - { if($1 != i && i != "") { print o; }; i=$1; o=$0; } - END { print o; };' | \ - tr '~' '-' -} - update_symlinks() { # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do