1#!/bin/sh 2 3mkdir -p "$DSTROOT/private/var/db/launchd.db/com.apple.launchd" 4chown root:wheel "$DSTROOT/private/var/db/launchd.db" 5chown root:wheel "$DSTROOT/private/var/db/launchd.db/com.apple.launchd" 6 7mkdir -p "$DSTROOT/private/var/log/com.apple.launchd" 8chown root:wheel "$DSTROOT/private/var/log/com.apple.launchd" 9 10# These directories need to be here to satisfy certain third-party dependencies. 11mkdir -p "$DSTROOT/private/etc/mach_init.d" 12mkdir -p "$DSTROOT/private/etc/mach_init_per_user.d" 13mkdir -p "$DSTROOT/private/etc/mach_init_per_login_session.d" 14chown root:wheel "$DSTROOT/private/etc/mach_init.d" 15chown root:wheel "$DSTROOT/private/etc/mach_init_per_user.d" 16chown root:wheel "$DSTROOT/private/etc/mach_init_per_login_session.d" 17