diff options
author | tzolov <christian.tzolov@gmail.com> | 2014-07-24 11:12:25 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-07-24 11:12:25 -0700 |
commit | 9fd141477dca3beb5cc2f82305dcf9f93ba41e9a (patch) | |
tree | 3796b4416350298b47ad007019ab3c25db0d8220 | |
parent | 46e224aaa26df4b232c5176e98472a902862b76c (diff) | |
download | spark-9fd141477dca3beb5cc2f82305dcf9f93ba41e9a.tar.gz spark-9fd141477dca3beb5cc2f82305dcf9f93ba41e9a.tar.bz2 spark-9fd141477dca3beb5cc2f82305dcf9f93ba41e9a.zip |
[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 <christian.tzolov@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
-rw-r--r-- | assembly/pom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/assembly/pom.xml b/assembly/pom.xml index 4f6aade133..567a8dd2a0 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> |