the user or username field is set by full name on macos system settings which is optional field on macos and if set by null or empty, the condition code below would be entered and the diskutil command will fail :
|
if not self.cur_os.admin_users or self.cur_os.admin_users == ["_mbsetupuser"] or ( |
|
self.sysinfo.boot_mode == "macOS" and self.sysinfo.login_user not in self.cur_os.admin_users): |
|
# Out of date Preboot partition? |
the user or username field is set by full name on macos system settings which is optional field on macos and if set by null or empty, the condition code below would be entered and the diskutil command will fail :
asahi-installer/src/main.py
Lines 206 to 208 in 6c09fb2