aboutsummaryrefslogtreecommitdiff
path: root/script/gen-deb.sh
diff options
context:
space:
mode:
authorcomex2015-02-28 21:23:36 -0500
committercomex2015-02-28 21:23:36 -0500
commit3295b45d5fc2a1288aeca7e744d7bc003fa7a5a1 (patch)
tree8b03bfff67d8dc7664391451a8874fe0cb004900 /script/gen-deb.sh
parentAdd substituted and fix things up to use it. Still untested. (diff)
downloadsubstitute-3295b45d5fc2a1288aeca7e744d7bc003fa7a5a1.tar.gz
add substituted launchd plist; move helpers to separate directory
Diffstat (limited to 'script/gen-deb.sh')
-rwxr-xr-xscript/gen-deb.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/script/gen-deb.sh b/script/gen-deb.sh
index 81b3efb..c474e63 100755
--- a/script/gen-deb.sh
+++ b/script/gen-deb.sh
@@ -14,7 +14,10 @@ mkdir -p $debroot/usr/include/substitute
cp lib/substitute.h $debroot/usr/include/substitute/
cp substrate/substrate.h $debroot/usr/include/substitute/
mkdir -p $debroot/Library/Substitute/DynamicLibraries
-cp out/{posixspawn-hook.dylib,bundle-loader.dylib,unrestrict,inject-into-launchd} $debroot/Library/Substitute/
+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/Library/LaunchDaemons
+cp darwin-bootstrap/com.ex.substituted.plist $debroot/Library/LaunchDaemons/
cp -a DEBIAN $debroot/
sed "s#{VERSION}#$version#g" DEBIAN/control > $debroot/DEBIAN/control
#... add bootstrap stuff