tickets #54098
closedAdd missing redirections on download.o.o - boo#1138371
0%
Description
To fix https://bugzilla.suse.com/show_bug.cgi?id=1138371#c6 we need to add missing redirections on download.o.o:
http://download.opensuse.org/ports/armv7hl/update/tumbleweed/ => http://download.opensuse.org/repositories/openSUSE:/Factory:/Update/ARM/
http://download.opensuse.org/ports/armv6hl/update/tumbleweed/ => http://download.opensuse.org/repositories/openSUSE:/Factory:/Update/ARM/
AArch64 redirection is already in place and can be used as a template for armv6/7, I guess.
Updated by cboltz almost 5 years ago
- Category set to Servers hosted in NBG
Since you now can login to pontifex.infra.opensuse.org (you uploaded your SSH key to freeipa.infra.o.o, right?), can you please login to pontifex, check the existing config files, and tell me what additions you need in which file? For bonus points, point me to an updated config file (or a patch) in your home directory.
(For completeness - you don't have sudo permissions yet, so someone (maybe I) will need to review and apply your changes.)
Updated by ggardet_arm almost 5 years ago
Hmm, I am confused. The aarch64 update rule is commented out in /etc/apache2/vhosts.d/_download.conf
:
# RewriteRule ^/ports/aarch64/update/tumbleweed/(.*) /repositories/openSUSE:/Factory:/Update/aarch64/$1 [L,R]
How is it handled? I guess I am missing something.
Updated by cboltz almost 5 years ago
In this case, it's a symlink:
cboltz@pontifex2:/srv/ftp/pub/opensuse/ports/aarch64/update> ls -l
total 0
lrwxrwxrwx 1 root root 55 Sep 11 2017 tumbleweed -> ../../../repositories/openSUSE:/Factory:/Update/aarch64
Updated by ggardet_arm almost 5 years ago
cboltz wrote:
In this case, it's a symlink:
cboltz@pontifex2:/srv/ftp/pub/opensuse/ports/aarch64/update> ls -l total 0 lrwxrwxrwx 1 root root 55 Sep 11 2017 tumbleweed -> ../../../repositories/openSUSE:/Factory:/Update/aarch64
Ah yes. So, we need to create symlinks for armv7hl
and armv6hl
, as well:
for arch in "armv6hl armv7hl"; do
mkdir -p /srv/ftp/pub/opensuse/ports/$arch/update
cd /srv/ftp/pub/opensuse/ports/$arch/update
ln -s ../../../repositories/openSUSE:/Factory:/Update/ARM tumbleweed
cd -
done
@cboltz, could you run this script, please?
Updated by cboltz almost 5 years ago
- Status changed from New to Closed
Thanks for the script, done. We now have:
# ls -l /srv/ftp/pub/opensuse/ports/armv*/update
/srv/ftp/pub/opensuse/ports/armv6hl/update:
total 0
lrwxrwxrwx 1 root root 52 Jul 22 12:29 tumbleweed -> ../../../repositories/openSUSE:/Factory:/Update/ARM/
/srv/ftp/pub/opensuse/ports/armv7hl/update:
total 0
lrwxrwxrwx 1 root root 52 Jul 22 12:29 tumbleweed -> ../../../repositories/openSUSE:/Factory:/Update/ARM/
Updated by ggardet_arm almost 5 years ago
I verified, it works as expected for both armv6 and armv7.
Thanks @cboltz!