diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2014-04-04 23:48:20 +0000 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2014-04-04 23:48:20 +0000 |
commit | 50d1ca325f2acc6e803f5385c9c58d7cd9314b3e (patch) | |
tree | 7adde692f23160213f24316add308e7e7b7adf0a /indra | |
parent | 1422f8961285c24f88b6c10fd4381ae78be93b6c (diff) |
Linux: Building some .so's with 0555 permissions now but viewer wants to
strip those down for packaging. So we'll target those .so's for a chmod.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/viewer_manifest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 2ce557fb8d..a9c2ab7437 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -1022,6 +1022,10 @@ class LinuxManifest(ViewerManifest): def package_finish(self): installer_name = self.installer_base_name() + # Some .so's are packaged without write permissions and fail during strip. So this... + self.run_command(r"find %(dst)r/lib -type f -perm 0555 | xargs --no-run-if-empty chmod 0755; true" + % {'dst' : self.get_dst_prefix()} ) + self.strip_binaries() # Fix access permissions |