autoport: added AUTOPORT_IGNORE_LIST configuration to provide a list of ignored autoport packages

This commit is contained in:
Silvan 2024-04-17 21:54:27 +02:00
parent 9fbe4e715e
commit f594957e25
2 changed files with 4 additions and 0 deletions

View File

@ -412,6 +412,9 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do
currjobscriptargs= currjobscriptargs=
currrebuild=${p/@*} currrebuild=${p/@*}
get_pkg_buildinfo $DATADIR/$PORT_REPOSITORY $TARGET_ARCH $currrebuild 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) JOB=(${JOB[*]} $currrebuild)
let JOBNUM+=1 let JOBNUM+=1
fi fi

View File

@ -21,6 +21,7 @@ AUTODIST_REPOSITORIES=(base devel-makedist devel-autodist devel-misc)
AUTOPORT_UNSTAGE_ARCHS="i586" AUTOPORT_UNSTAGE_ARCHS="i586"
AUTOPORT_STAGEVARS="--define stage1=1" AUTOPORT_STAGEVARS="--define stage1=1"
AUTOPORT_MAX_STEPS=10 AUTOPORT_MAX_STEPS=10
AUTOPORT_IGNORE_LIST=""
#RPMDIR=/usr/src/RPM #RPMDIR=/usr/src/RPM
AUTODIST_REBUILDOLD_MAX=20 AUTODIST_REBUILDOLD_MAX=20
AUTODIST_REBUILDOLD_FROMDATE=20090101 AUTODIST_REBUILDOLD_FROMDATE=20090101