diff options
author | comex | 2015-07-12 14:26:39 -0400 |
---|---|---|
committer | comex | 2015-07-12 14:26:39 -0400 |
commit | 935c1cecba0fc2c9bc09e9740a50d774e520bfa4 (patch) | |
tree | 5fa45cbc4ef1c742d38b3c288cefb73327328c30 /script | |
parent | Important: Fix fd leak that I think was the culprit for substitute'd devices ... (diff) | |
download | substitute-935c1cecba0fc2c9bc09e9740a50d774e520bfa4.tar.gz |
safetydance work, but it's broken
Diffstat (limited to 'script')
-rwxr-xr-x | script/gen-deb.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/gen-deb.sh b/script/gen-deb.sh index f39dbd3..999765c 100755 --- a/script/gen-deb.sh +++ b/script/gen-deb.sh @@ -14,12 +14,15 @@ 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 darwin-bootstrap/safemode-ui-hook.plist out/safemode-ui-hook.dylib $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/ +mkdir -p $debroot/Applications/SafetyDance.app +cp -a out/SafetyDance.app/{*.png,Info.plist,SafetyDance} $debroot/Applications/SafetyDance.app/ cp -a darwin-bootstrap/DEBIAN $debroot/ sed "s#{VERSION}#$version#g" darwin-bootstrap/DEBIAN/control > $debroot/DEBIAN/control #... add bootstrap stuff |