Bugzilla – Bug 1164724
Links from wiki to tumbleweed / leap raspberry pi images are broken
Last modified: 2020-06-29 10:00:18 UTC
The links from https://en.opensuse.org/HCL:Raspberry_Pi3 do not work.
It's a wiki - is there anything that stops you from fixing the links yourself? ;-) If not, please just do it (and close this bug afterwards) ;-)
I already tried but the images links are created by some macro: {{Arm_image_instructions|Tumbleweed|raspberrypi3|http://download.opensuse.org/ports/aarch64/tumbleweed/images/|board=Raspberry Pi 3|arch=aarch64|contrib=no|imagetitle=64-bit openSUSE Tumbleweed image}} But it's not the path but the filenames that are wrong. Either the macro would have to get fixed to always point to the latest image - and not to the one with "current" in the filename - because that one doesn't exist. I have no idea, where this macro is defined, though. Or download.opensuse.org could get some "current" symlinks that always point to the newest image. I think that option would make more sence.
I found the template definition for what I thought was some kind of macro: https://en.opensuse.org/Template:Arm_image_instructions It doesn't look like as if it could be adjusted to always point to the newest image using some kind of dynamic magic. It seems that 32bit arm architectures have the required symlinks to make the links from the wiki work: http://download.opensuse.org/ports/armv7hl/tumbleweed/images/ But aarch64 doesn't: http://download.opensuse.org/ports/aarch64/tumbleweed/images/
Dominik, thanks for debugging this. You found the right template, and the fact that the *-current symlinks don't exist in the aarch64 directory explains why the links are broken. Creating these symlinks is something that needs to be done on the OBS side (maybe project config?) since MediaWiki isn't good at guessing numbers ;-) Dominique, is this something you can fix in the Tumbleweed (wild guess) project config? If not, do you know who can do it?
The links with "-Current" in the name will stay away, since we obsoleted the custom scripts here. We are currently in discussion how to make it possible to use the OBS staticlinks feature here. Currently broken due to manual overrides to custom -Snapshot names. but using -BuildX.Y with X.Y numbers, which have a different meaning in logfiles is also not a good idea. Will discuss that further with openQA people today...
Adrian, did the discussion bring any result? (Also, I'm assigning this bug to you because we'll need a solution on the OBS side before there's a chance to fix the links in the wiki.)
I'm also interested in having static links, it's needed in order to add openSUSE support on Raspberry Pi's official imager utility[1]. [1] https://www.raspberrypi.org/blog/raspberry-pi-imager-imaging-utility/