pikvm / pi-builder

Extensible tool to build Arch Linux ARM for Raspberry Pi on x86_64 host using Docker
https://pikvm.org
GNU General Public License v3.0
95 stars 62 forks source link

"404 Not Found" when trying to build - ArchLinux naming scheme changed #20

Closed JustAmply closed 2 years ago

JustAmply commented 2 years ago

I'm trying to build PiKVM for my Raspberry Pi 3. But the following error shows up:

...
===== Binfmt arm is ready =====
===== Ensuring base rootfs =====
if [ ! -e ./.cache/base-rootfs-rpi3.tar.gz ]; then \
        mkdir -p ./.cache \
        && echo "Signature: 8a477f597d28d172789f06886806bc55" > "./.cache/CACHEDIR.TAG" \
        && curl -L -f http://de3.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz -z ./.cache/base-rootfs-rpi3.tar.gz -o ./.cache/base-rootfs-rpi3.tar.gz \
; fi
Warning: Illegal date format for -z, --time-cond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
make[1]: *** [Makefile:277: _rpi_base_rootfs_tgz] Error 22

The URL to the Arch image (in this case http://de3.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz) is not available anymore. I think they may have changed their naming-scheme.

If i'm correct then http://de3.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz should be the right image for the Raspi3.

I believe that this just needs a simple fix in the Makefile.

mdevaev commented 2 years ago

They changed naming and package structure. I'll deal with it.

mdevaev commented 2 years ago

Fixed