From fe984b1da29018c21d4de061d8954e7a5eef929a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 12:46:20 +0100 Subject: [PATCH] autoport: no longer search and reschedule other providing packages on prepare failed --- autoport | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/autoport b/autoport index 5e17314..cef4e74 100755 --- a/autoport +++ b/autoport @@ -571,16 +571,7 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do #%% COMMAND: LANG=C LC_ALL=C autodist -p ${JOB_CURRENT} --server $PORT_REPOSITORY --repository $PORT_REPOSITORY $REPOSITORY_STRICT_ADD --severity 2 -- $STAGEOPTS" LANG=C LC_ALL=C autodist -p ${JOB_CURRENT} --server $PORT_REPOSITORY --repository $PORT_REPOSITORY $REPOSITORY_STRICT_ADD --severity 2 -- $STAGEOPTS &>$tmpfile [ $? -gt 0 ] && { - RES=`find_source_by_provide $PORT_REPOSITORY $JOB_CURRENT` - for j in ${RES}; do - [ "$j" != "$JOB_CURRENT" ] && RESOLVED_JOB="$RESOLVED_JOB $j" - done - if [ "$RESOLVED_JOB" ]; then - echo "(FAILED) [but scheduling $RESOLVED_JOB]" - JOB_FAILED=(${JOB_FAILED[*]} $RESOLVED_JOB) - else - echo "(FAILED) " - fi + echo "(FAILED) " JOB_CANTPREPARE=(${JOB_CANTPREPARE[*]} $JOB_CURRENT) autoport_log ${JOB_CURRENT} prepare failed $tmpfile continue