rsyncd / download: adjust odcs to allow package rsyncs

odcs just links to the packages in a compose on the /mnt/koji volume
with relative symlinks. ie (
../../../../../../../../mnt/koji/packages/zip/3.0/28.eln109/data/signed/9867c58f/x86_64/zip-3.0-28.eln109.x86_64.rpm
)
Change odcs on download servers to mount on /mnt like koji and then tell
rsync to chroot at /mnt, so it can follow those links and copy the file
from koji volume.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-05-17 13:46:36 -07:00
parent f23fd1b7a1
commit e0662c5f2d
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
Alias /pub /srv/pub
Alias /odcs /srv/odcs
Alias /odcs /mnt/odcs
DocumentRoot /srv/web
@ -18,7 +18,7 @@ DocumentRoot /srv/web
</IfModule>
</Directory>
<Directory /srv/odcs>
<Directory /mnt/odcs>
HeaderName /HEADER.html
ReadmeName /FOOTER.html
Options Indexes FollowSymLinks