chadmed / asahi-gentoosupport

Gentoo support files for Apple Silicon devices
61 stars 16 forks source link

`asahi-fwextract: /usr/sbin/update-vendor-firmware not found` #8

Closed monomycelium closed 1 year ago

monomycelium commented 1 year ago
==> Upgrading vendor firmware package...
    Firmware upgraded
/usr/sbin/asahi-fwextract: line 17: /usr/sbin/update-vendor-firmware: No such file or directory

Should I have installed the script? Can I reboot now?

chadmed commented 1 year ago

ah thats a problem with the ebuild in the overlay. please emerge sys-apps/asahi-scripts and then run asahi-fwextract. you should be able to reboot safely after that

EDIT: it's a problem with the keywording actually. the way we handle firmware now has not been keyworded for arm64, only ~arm64. i'll fix this later today.

monomycelium commented 1 year ago

When I run asahi-fwextract after emerging sys-apps/asahi-scripts, the same error occurs.


Resolution

Apparently, the path was wrongly set in the asahi-fwextract. The scripts were installed to /usr/local, as in /usr/local/bin/update-vendor-firmware.

To solve the problem, I just symlinked /usr/local/bin/* to /usr/sbin/ (because there was nothing else) and /usr/local/share/asahi-scripts to /usr/share/.

chadmed commented 1 year ago

I see exactly what has happened, fix coming soon