Running the script on a iMac late 2013 and get this:
andersaxelsson@Anders-iMac big-sur-micropatcher-main % ./install-setvars.sh /Volumes/Install\ macOS\ Catalina
Checking read access to necessary directories...
Access check succeeded.
/Volumes/Install macOS Catalina found on device /dev/disk3s2
Volume EFI on /dev/disk3s1 mounted
Detected Mac model is: iMac14,3
Late 2013 iMac detected, so enabling SIP/ARV.
(Use -d option to disable SIP/ARV if necessary.)
Installing setvars EFI utility.
rm: /Volumes/EFI/EFI: Operation not permitted
Verbose boot disabled, SIP/ARV enabled
cp: /Volumes/EFI/EFI/EFI-enablesiparv: Operation not permitted
cp: setvars/EFI-enablesiparv: unable to copy extended attributes to /Volumes/EFI/EFI/EFI-enablesiparv: Operation not permitted
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot: No such file or directory
cp: setvars/EFI-enablesiparv/boot: unable to copy extended attributes to /Volumes/EFI/EFI/EFI-enablesiparv/boot: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/boot.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/bootia32.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/bootx64.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-ia32.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-vb-ia32.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-vb-x86_64.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-vb.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-x86_64.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-ia32.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-verboseboot-ia32.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-verboseboot-x86_64.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-verboseboot.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-x86_64.efi: No such file or directory
cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars.efi: No such file or directory
Unmounting EFI volume (if this fails, just eject in Finder afterward).
Running the script on a iMac late 2013 and get this: andersaxelsson@Anders-iMac big-sur-micropatcher-main % ./install-setvars.sh /Volumes/Install\ macOS\ Catalina Checking read access to necessary directories... Access check succeeded.
/Volumes/Install macOS Catalina found on device /dev/disk3s2 Volume EFI on /dev/disk3s1 mounted Detected Mac model is: iMac14,3 Late 2013 iMac detected, so enabling SIP/ARV. (Use -d option to disable SIP/ARV if necessary.)
Installing setvars EFI utility. rm: /Volumes/EFI/EFI: Operation not permitted Verbose boot disabled, SIP/ARV enabled cp: /Volumes/EFI/EFI/EFI-enablesiparv: Operation not permitted cp: setvars/EFI-enablesiparv: unable to copy extended attributes to /Volumes/EFI/EFI/EFI-enablesiparv: Operation not permitted cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot: No such file or directory cp: setvars/EFI-enablesiparv/boot: unable to copy extended attributes to /Volumes/EFI/EFI/EFI-enablesiparv/boot: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/boot.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/bootia32.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/bootx64.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-ia32.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-vb-ia32.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-vb-x86_64.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-vb.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv-x86_64.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-enablesiparv.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-ia32.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-verboseboot-ia32.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-verboseboot-x86_64.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-verboseboot.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars-x86_64.efi: No such file or directory cp: /Volumes/EFI/EFI/EFI-enablesiparv/boot/setvars.efi: No such file or directory Unmounting EFI volume (if this fails, just eject in Finder afterward).