endeavouros-arm / install-script

install EndeavourOS on an ARM SBC
GNU General Public License v3.0
13 stars 9 forks source link

EOS installer hangs just after servers speed ranking #21

Open warpme opened 1 year ago

warpme commented 1 year ago

Hi,

I’m developing MiniArch (https://github.com/warpme/miniarch) project which is Archlinux bootstrap SD card images for H6/H616/RK3399/RK3566/RK3568/S912/SM1/G12/RPI3/RPI4 based SBC/TVboxes

It seems to work ok for basic ArchLinux ARM - so I started to play with EOS install and…EOS installer hangs for me just after servers speed ranking.

Code i’m using to start EOS install is like this:

su root -c " \
        pacman -S git ; \
        cd /root ; \
        git clone https://github.com/endeavouros-arm/install-script.git ; \
        cd /root/install-script ; \
        chmod 774 endeavour-ARM-install-V*.sh ; \
        ./endeavour-ARM-install-V*.sh ; \
        "

Is there any way to debug this issue? Or maybe i’m doing something wrong?

PS: I put this Q also on https://forum.endeavouros.com/t/eos-installer-hangs-just-after-servers-speed-ranking/35790/2

warpme commented 1 year ago

Ok - i think i found root cause of this issue: it is because of sum of following facts:

  1. im using https://archlinuxarm.org/platforms/armv8/generic
  2. im on rpi4
  3. install script has: https://github.com/endeavouros-arm/install-script/blob/81187dbb318944968f85cacc5b31e80c0d675b6d/endeavour-ARM-install-V2.7.sh#L418

effectively above causes that in my case (installing generic aarch64 rootfs on rpi4) i don't have libnewt wget so install hangs.

I think this is corner case where script:

  1. should say it is not covered and exit or
  2. should detect that user is on generic aarch64 rootfs and install script should act correctly

ps: if we will go with 2\ - then pls remember https://github.com/endeavouros-arm/install-script/blob/81187dbb318944968f85cacc5b31e80c0d675b6d/endeavour-ARM-install-V2.7.sh#L345 will highly probable break generic aarch64 rootfs running on rpi4