[ -e /vendorfw ] || return 0
print 'asahi: copying vendor firmware to root filesystem'
loaderdir=/mnt/root/lib/firmware/vendor
mkdir -p "$loaderdir"
mount -t tmpfs -o mode=0755 vendorfw "$loaderdir"

set +f
cp -a /vendorfw/* /vendorfw/.vendorfw.manifest "$loaderdir"
set -f
