Otherwise ln_r "/lib/firmware/vendor" "/vendorfw" will point to a non-existent directory
....and firmware.cpio can't be extracted to a non-existent directory.
Also, I fail to see how
[ -e /vendorfw ]; then
info ":: Asahi: Vendor firmware was loaded by the bootloader"
return 0
fi
...is somehow validating that the firmware has been loaded.
That's just a symlink to /lib/firmware/vendor
But maybe I'm missing something??
How are we meant to verify that the firmware has been loaded?
Or should we just be extracting firmware.cpio on every boot?
ref issue: https://github.com/AsahiLinux/asahi-scripts/issues/15
inst_dir
needs to create/lib/firmware/vendor
Otherwise
ln_r "/lib/firmware/vendor" "/vendorfw"
will point to a non-existent directory....and
firmware.cpio
can't be extracted to a non-existent directory.Also, I fail to see how
...is somehow validating that the firmware has been loaded.
That's just a symlink to
/lib/firmware/vendor
But maybe I'm missing something??
How are we meant to verify that the firmware has been loaded?
Or should we just be extracting
firmware.cpio
on every boot?