-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RunningMode::RunningInstallerRecovery is unreliable #2248
Comments
Do you have an idea how can we detect these stages? E.g. some boot arguments or device tree specifics? |
I don't know about anything else, but the boot args remain the same as the ones in the config.plist. I tested it by printing the contents of the value returned by PE_boot_args |
(This test was conducted on the Big Sur recovery dmg, aka com.apple.recovery.boot/BaseSystem.dmg) |
Sorry, if I was unclear, I mean the boot arguments one can use to detect the recovery. Perhaps you would be able to provide the IORegistry dump (IOService and IODeviceTree planes) in the recovery? |
I understood perfectly fine. My response was there's no new boot args appended while booting the macOS 11 Recovery DMG; they remain the same as the ones in the |
Here you go @vit9696 |
Please test. |
Works fine, @vit9696! Don't forget to fix the Analysis issues, lol |
Note: Only normal boot and the recovery update was tested. I'm going to perform an update now to make sure it works here as well |
Unfortunately, due to unexpected issues I'm unable to perform an update at this time. I will need someone else to test this |
I fixed the analysers and will merge the patch. I suggest you to raise a new issue if the update fails. |
RunningMode::RunningInstallerRecovery is only set at 2nd update stage (first reboot). Recovery partition and next update stages seem to have it unset.
macOS Version: 11.7.4 (Big Sur)
Lilu version: 1.6.4
The text was updated successfully, but these errors were encountered: