Merge "Revert "reprepro: temporarily ignore undefinedtarget""

This commit is contained in:
Zuul
2025-09-26 21:17:03 +00:00
committed by Gerrit Code Review

View File

@@ -32,9 +32,7 @@ CONFIG_KEY=$(basename $REPREPRO_CONFIG)
UNREF_FILE=/var/run/reprepro/${MIRROR_VOLUME}.${CONFIG_KEY}.unreferenced-files
K5START="k5start -t -f /etc/reprepro.keytab service/reprepro -- ${TIMEOUT} "
# TODO(fungi): remove --ignore=undefinedtarget once we decide a way forward for
# the loss of bullseye-backports [see 2025-08-04 IRC log]
REPREPRO="$K5START reprepro --confdir $REPREPRO_CONFIG --ignore=undefinedtarget"
REPREPRO="$K5START reprepro --confdir $REPREPRO_CONFIG"
echo_ts "Obtaining reprepro tokens and running reprepro update"
$REPREPRO update
@@ -48,9 +46,7 @@ if [ -f $UNREF_FILE ] ; then
fi
echo_ts "Saving list of newly unreferenced files for next time"
# TODO(fungi): remove --ignore=undefinedtarget once we decide a way forward for
# the loss of bullseye-backports [see 2025-08-04 IRC log]
k5start -t -f /etc/reprepro.keytab service/reprepro -- bash -c "reprepro --confdir $REPREPRO_CONFIG --ignore=undefinedtarget dumpunreferenced > $UNREF_FILE"
k5start -t -f /etc/reprepro.keytab service/reprepro -- bash -c "reprepro --confdir $REPREPRO_CONFIG dumpunreferenced > $UNREF_FILE"
echo_ts "Checking state of mirror"
$REPREPRO checkpool fast