chroagh-dev
chroagh-dev copied to clipboard
curl fails due to 302 from mirrors.kernel.org
Please describe your issue:
The installer has been failing of late, and it took me a while to figure it out, but the problem is that the mirrors.kernel.org archive redirects to mirrors.edge.kernel.org and curl won't follow the redirect (http code 302) by default.
I fixed this by changing the "arch/defaults" file entry for the x86_64 mirror to the following:
x86_64 ) MIRROR="${CROUTON_MIRROR_arch: https://mirrors.edge.kernel.org/archlinux/\$repo/os/\$arch}";;
The installer still doesn't work, but I guess it's a separate issue. It fails on group creation:
Installing crash_reporter_wrapper into the host...
Creating hwaudio group with GID 18...
chroot: failed to run command 'su': Permission denied
Unmounting /mnt/stateful_partition/crouton/chroots/arch...
I'll try to debug that one.
This repo is overdue for an update from upstream. I'll get to that soon.