Commit b38069f8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rsync_all.sh: mirror gostcrypto and checkinstall components

The shared base/ index already ships pkglist.gostcrypto/checkinstall, so apt sees these components but their RPMS.* payload was never mirrored, causing 404 on every package (e.g. apt-conf-branch-gostcrypto). Mirror the payload too, skipping branch/arch where the component is absent upstream. Co-Authored-By: 's avatarClaude Opus 4.8 (1M context) <noreply@anthropic.com>
parent 7765f1cd
......@@ -170,6 +170,21 @@ for i in $BRANCHLIST; do
sync_branches $i/branch debuginfo
done
# Some branches publish extra components (gostcrypto, checkinstall) whose
# indices always arrive with base/. Their payload must be mirrored too, or
# apt hits 404 on every package of these components. Skip a branch/arch when
# the component is absent upstream (e.g. Sisyphus has none).
OPTIONAL_COMPONENTS="gostcrypto checkinstall"
for i in $BRANCHLIST; do
RSYNCPATH=$(get_rsync_path $i/branch)
for c in $OPTIONAL_COMPONENTS; do
for a in $LISTARCH; do
rsync "$RSYNCPATH/$i/branch/$a/RPMS.$c/" >/dev/null 2>&1 || continue
func $i/branch/$a/RPMS.$c
done
done
done
#sync_other p8/images
for i in Sisyphus ; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment