From 3295b45d5fc2a1288aeca7e744d7bc003fa7a5a1 Mon Sep 17 00:00:00 2001 From: comex Date: Sat, 28 Feb 2015 21:23:36 -0500 Subject: add substituted launchd plist; move helpers to separate directory --- script/gen-deb.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'script') 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 -- cgit v1.2.3