aboutsummaryrefslogtreecommitdiff
path: root/script/gen-deb.sh
diff options
context:
space:
mode:
authorcomex2015-03-01 23:07:15 -0500
committercomex2015-03-01 23:07:15 -0500
commit7f24621bec0b0a5b3cab9ec2dfc68929a2d49d25 (patch)
tree7c227bfa4d8010e23b726eed8efb6bc51746e3f5 /script/gen-deb.sh
parentseems to work (diff)
downloadsubstitute-7f24621bec0b0a5b3cab9ec2dfc68929a2d49d25.tar.gz
A number of critical fixes painstakingly discovered in the slowest way possible.
Diffstat (limited to 'script/gen-deb.sh')
-rwxr-xr-xscript/gen-deb.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/gen-deb.sh b/script/gen-deb.sh
index cd3298e..1848a93 100755
--- a/script/gen-deb.sh
+++ b/script/gen-deb.sh
@@ -16,6 +16,8 @@ cp substrate/substrate.h $debroot/usr/include/substitute/
mkdir -p $debroot/Library/Substitute/DynamicLibraries
mkdir -p $debroot/Library/Substitute/Helpers
cp out/{posixspawn-hook.dylib,bundle-loader.dylib,unrestrict,inject-into-launchd,substituted} $debroot/Library/Substitute/Helpers/
+mkdir -p $debroot/etc/rc.d
+ln -s /Library/Substitute/Helpers/inject-into-launchd $debroot/etc/rc.d/substitute
mkdir -p $debroot/Library/LaunchDaemons
cp darwin-bootstrap/com.ex.substituted.plist $debroot/Library/LaunchDaemons/
cp -a DEBIAN $debroot/