archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.37k stars 548 forks source link

Fails on `mkinitcpio` returning 1 when missing firmware warning is shown, despite the image generation being successful #1913

Open p0358 opened 1 year ago

p0358 commented 1 year ago

Take a look: image

The situation is a bit troublesome, because firmware for aic94xx is only in AUR, so cannot be added as additional package (I had one more firmware missing, but that one was fixed by adding linux-firmware-qlogic), and I don't think there's an easy way to add AUR packages with this script. At the same time these warnings are perfectly fine to ignore, and the output even ends with Image generation successful, yet the whole script exits and fails.

I did the dirty workaround below: image and can confirm it fixed my issue, and the installer carried on (and the system installed and boots) image

Torxed commented 1 year ago

We'll investigate if we can simply ignore this. You can run the AUR plugin as a workaround if you wish while we work on this:

$ archinstall --plugin https://raw.githubusercontent.com/Torxed/archinstall-aur/main/archinstall_aur/__init__.py

Note that it's not supported but it's offered as a example of how to integrate plugins.