qntmpkts / chroagh-dev

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
24 stars 11 forks source link

curl fails due to 302 from mirrors.kernel.org #8

Open DictatorBob opened 6 years ago

DictatorBob commented 6 years ago

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.

qntmpkts commented 6 years ago

This repo is overdue for an update from upstream. I'll get to that soon.