Skip to content
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

use ioreg to read IOPlatformUUID as HostID #1059

Merged
merged 1 commit into from
Oct 30, 2021
Merged

Conversation

d1ss0nanz
Copy link
Contributor

Since "sysctl kern.uuid" is not unique across Darwin hosts, "IOPlatformUUID" should be used instead.

@d1ss0nanz
Copy link
Contributor Author

I've no idea why the checks failed. Let me know what I can do to fix it.

@shirou
Copy link
Owner

shirou commented Oct 30, 2021

Sorry to late response. Now I have a darwin (for a while) and can confirm this PR is works. Thank you so much!

@shirou shirou merged commit e032a1c into shirou:master Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants