diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-07-30 11:36:18 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-07-30 11:38:52 +0300 |
commit | 79d1d1b4405b9f76de10b9c2c5ecdca686b1f7b9 (patch) | |
tree | 02a42b83c2e4e2a4c5ae8f74ce478491188cba41 /solenv/bin | |
parent | 636f90327f4452eca9bf16c84b6cff0239c222a0 (diff) |
Use sandboxing when requested also for the app bundle in the dmg
Change-Id: I612be680e7aea2b098894aa4e11b10b471d34144
Diffstat (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/modules/installer/simplepackage.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm index bf769f4d36d0..3a745ecc0e42 100644 --- a/solenv/bin/modules/installer/simplepackage.pm +++ b/solenv/bin/modules/installer/simplepackage.pm @@ -424,7 +424,10 @@ sub create_package # participate in the signing and their validity can be # guaranteed. - $systemcall = "codesign --sign $ENV{'MACOSX_CODESIGNING_IDENTITY'} --force -v -v -v $localtempdir/$folder/$volume_name_classic_app.app"; + $entitlements = ''; + $entitlements = "--entitlements $ENV{'BUILDDIR'}/lo.xcent" if defined($ENV{'ENABLE_MACOSX_SANDBOX'}); + + $systemcall = "codesign --sign $ENV{'MACOSX_CODESIGNING_IDENTITY'} --force $entitlements -v -v -v $localtempdir/$folder/$volume_name_classic_app.app"; print "... $systemcall ...\n"; my $returnvalue = system($systemcall); $infoline = "Systemcall: $systemcall\n"; |