You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2022/09/30 09:14:01 UTC

[GitHub] [bigtop] sekikn commented on pull request #1022: BIGTOP-3825: Support parent directory configuration for Solr rpm build script

sekikn commented on PR #1022:
URL: https://github.com/apache/bigtop/pull/1022#issuecomment-1263320351

   +1, tested as follows.
   
   ```
   $ ./gradlew solr-clean solr-pkg repo -Dbuildwithdeps=true
   $ mv output/solr /tmp
   $ curl -sL https://github.com/apache/bigtop/pull/1022.diff | git apply
   <stdin>:223: trailing whitespace.
   %config(noreplace) %{etc_default}/solr 
   warning: 1 line adds whitespace errors.
   $ ./gradlew solr-clean solr-pkg repo -Dbuildwithdeps=true
   $ for i in $(ls output/solr/noarch); do diff <(rpm -qlp output/solr/noarch/$i) <(rpm -qlp /tmp/solr/noarch/$i); done
   3d2
   < /etc/solr
   $ ./gradlew solr-clean solr-pkg repo -Dbuildwithdeps=true -PparentDir=/usr/bigtop
   $ for i in $(ls output/solr/noarch); do rpm -qlp output/solr/noarch/$i; done
   /etc/solr
   /usr/bigtop/etc/default/solr
   /usr/bigtop/etc/default/solr.in.sh
   /usr/bigtop/etc/solr/conf.dist
   /usr/bigtop/etc/solr/conf.dist/jetty-logging.properties
   /usr/bigtop/etc/solr/conf.dist/log4j2-console.xml
   /usr/bigtop/etc/solr/conf.dist/log4j2.xml
   /usr/bigtop/usr/bin/solrctl
   /usr/bigtop/usr/lib/solr
   
   ...
   
   /usr/bigtop/var/lib/solr
   /var/log/solr
   /var/run/solr
   /usr/bigtop/usr/share/doc/solr-doc-8.11.2
   
   ...
   
   /etc/rc.d/init.d/solr-server
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org