From f594957e25f5940ce43af5f085e7a058d6f1e58d Mon Sep 17 00:00:00 2001 From: Silvan Date: Wed, 17 Apr 2024 21:54:27 +0200 Subject: [PATCH] autoport: added AUTOPORT_IGNORE_LIST configuration to provide a list of ignored autoport packages --- autoport | 3 +++ etc/autodist/config | 1 + 2 files changed, 4 insertions(+) diff --git a/autoport b/autoport index cf0a91e..0de4a28 100755 --- a/autoport +++ b/autoport @@ -412,6 +412,9 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do currjobscriptargs= currrebuild=${p/@*} get_pkg_buildinfo $DATADIR/$PORT_REPOSITORY $TARGET_ARCH $currrebuild + for ignore_pkg in ${AUTOPORT_IGNORE_LIST}; do + [ "${currrebuild}" == "${ignore_pkg}" ] && continue + done JOB=(${JOB[*]} $currrebuild) let JOBNUM+=1 fi diff --git a/etc/autodist/config b/etc/autodist/config index 8ee9a59..93b7f78 100644 --- a/etc/autodist/config +++ b/etc/autodist/config @@ -21,6 +21,7 @@ AUTODIST_REPOSITORIES=(base devel-makedist devel-autodist devel-misc) AUTOPORT_UNSTAGE_ARCHS="i586" AUTOPORT_STAGEVARS="--define stage1=1" AUTOPORT_MAX_STEPS=10 +AUTOPORT_IGNORE_LIST="" #RPMDIR=/usr/src/RPM AUTODIST_REBUILDOLD_MAX=20 AUTODIST_REBUILDOLD_FROMDATE=20090101