Project

General

Profile

Actions

tickets #54098

closed

Add missing redirections on download.o.o - boo#1138371

Added by ggardet_arm almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Servers hosted in NBG
Target version:
-
Start date:
2019-07-10
Due date:
% Done:

0%

Estimated time:

Actions #1

Updated by ggardet_arm almost 5 years ago

  • Private changed from Yes to No
Actions #2

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.)

Actions #3

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.

Actions #4

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
Actions #5

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?

Actions #6

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/
Actions #7

Updated by ggardet_arm almost 5 years ago

I verified, it works as expected for both armv6 and armv7.
Thanks @cboltz!

Actions

Also available in: Atom PDF