macOS support
This MR implements a set of patches allowing for a functional apk
on macOS.
There are a few caveats:
-
macOS does not use
/etc/passwd
as a source of authentication truth, so we use opendirectory on macOS instead. Unfortunately there is only one opendirectory database, as it does not support nesting. -
using this with fakeroot on macOS is broken on systems where Darwin only uses 64-bit inodes. fakeroot needs to be updated to mitigate this scenario.
Edited by Ariadne Conill