Skip to content

Commit

Permalink
Symlink /etc/machine-id from the host
Browse files Browse the repository at this point in the history
This fixes gethostuuid() syscall not working, which surfaced as issues with Core Foundation
  • Loading branch information
bugaevc committed Aug 14, 2018
1 parent a010709 commit 2b3ee77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -56,6 +56,7 @@ InstallSymlink(private/var ${CMAKE_INSTALL_PREFIX}/libexec/darling/var)

install(FILES etc/resolv.conf
DESTINATION libexec/darling/etc)
InstallSymlink(/Volumes/SystemRoot/etc/machine-id ${CMAKE_INSTALL_PREFIX}/libexec/darling/etc/machine-id)

install(DIRECTORY DESTINATION libexec/darling/Volumes)
install(DIRECTORY DESTINATION libexec/darling/Volumes/SystemRoot)
Expand Down

0 comments on commit 2b3ee77

Please sign in to comment.