You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/07/24 20:12:37 UTC

git commit: [Build] SPARK-2619: Configurable filemode for the spark/bin folder in debian package

Repository: spark
Updated Branches:
  refs/heads/master 46e224aaa -> 9fd141477


[Build] SPARK-2619: Configurable filemode for the spark/bin folder in debian package

Add  a `<deb.bin.filemode>744</deb.bin.filemode>` property to the `assembly/pom.xml` that defaults to `744`.
Use this property for ../bin folder <filemode>.

This patch doesn't change the current default modes but allows one override the modes at build time:
`-Ddeb.bin.filemode=<new mode>`

Author: tzolov <ch...@gmail.com>

Closes #1531 from tzolov/SPARK-2619 and squashes the following commits:

6d95343 [tzolov] [Build] SPARK-2619: Configurable filemode for the spark/bin folder in the .deb package


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/9fd14147
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/9fd14147
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/9fd14147

Branch: refs/heads/master
Commit: 9fd141477dca3beb5cc2f82305dcf9f93ba41e9a
Parents: 46e224a
Author: tzolov <ch...@gmail.com>
Authored: Thu Jul 24 11:12:25 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Thu Jul 24 11:12:25 2014 -0700

----------------------------------------------------------------------
 assembly/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/9fd14147/assembly/pom.xml
----------------------------------------------------------------------
diff --git a/assembly/pom.xml b/assembly/pom.xml
index 4f6aade..567a8dd 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -39,6 +39,7 @@
     <deb.pkg.name>spark</deb.pkg.name>
     <deb.install.path>/usr/share/spark</deb.install.path>
     <deb.user>root</deb.user>
+    <deb.bin.filemode>744</deb.bin.filemode>
   </properties>
 
   <dependencies>
@@ -276,7 +277,7 @@
                         <user>${deb.user}</user>
                         <group>${deb.user}</group>
                         <prefix>${deb.install.path}/bin</prefix>
-                        <filemode>744</filemode>
+                        <filemode>${deb.bin.filemode}</filemode>
                       </mapper>
                     </data>
                     <data>