I would like to setup up an ElasticSearch rpm project on openSUSE Build
Service https://build.opensuse.org/.
Where can I find the official ES RPM source or the elasticsearch.spec files?
I would like to setup up an Elasticsearch rpm project on openSUSE Build
Service https://build.opensuse.org/.
Where can I find the official ES RPM source or the elasticsearch.spec
files?
I don't want to compile ES packuage.
I only want to distribute the official ES as an rpm packet repository with
OBS for a robust and easy to manage integration into openSUSE packet
management.
For building Suse Studio appliances the setup would become much easier.
There exists elasticsearch spec files for fedora/rhel based systems made by
tavisto on
On the other hand ElasticSearch has build official rpm packuages during the
last official releases.
My first goal is to define robust install, postinstall and remove
procedures inside the spec files and systemd integration.
I would like to be close as possible to official ElasticSearch rpm
definitions.
Is there any way to export the definitions from pom.xml to rpm sepec file
format?
If you improve the systemd integration, I'd be more than happy to include
this upstream. In order to give you a little orientation, how the packaging
process works using mvn
Check out the src/rpm directory in the source repo
src/rpm/init.d contains an init script, which is not important if you are
interested in systemd
src/rpm/scripts contains a postinstall, preremove, preinstall and
preremove script, where the systemd registration is done in postinstall and
disabled in the preremove script
src/rpm/sysconfig/elasticsearch is the sysconfig configuration
src/rpm/systemd/ contains elasticsearch.conf and elasticsearch.service
files
You can run mvn -DskipTests=true rpm:rpm to create an RPM/generate the spec
files. The spec will be put
into target/rpm/elasticsearch/SPECS/elasticsearch.spec
If you need to built for a specific version just use "git checkout v0.90.5"
instead of building RPMs of master.
On the other hand Elasticsearch has build official rpm packuages during
the last official releases.
My first goal is to define robust install, postinstall and remove
procedures inside the spec files and systemd integration.
I would like to be close as possible to official Elasticsearch rpm
definitions.
Is there any way to export the definitions from pom.xml to rpm sepec file
format?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.