Aliaksey, I means such files as reloc.sh.tmpl, reloc_wrapper.sh.tmpl and couchbase_init.d.tmpl
On Monday, July 14, 2014 11:36:56 PM UTC+4, Aliaksey Kandratsenka wrote: > > > > > On Mon, Jul 14, 2014 at 12:26 PM, Haster <[email protected] <javascript:> > > wrote: > >> Aliaksey, thanks for reply. >> >> And can you answer additional questions: >> >> 1) I'm trying to make my rpm packet so I whatched in official rpm and >> found that some files are generated from templates. >> So can you explain how you generate target files? Just replace patterns >> with needed words? >> > > Lets be more specific. Which files you're talking about? > > > >> >> 2) I found that some files have structure that allows in the future to >> install rpm to not default places (so you use templates and spec file with >> prefix) >> But some files (some scripts) have hardcoded path to /opt/couchbase. Why? >> And can I install couchbase to another place? >> > > rpm installation into non-default place is one of crap features that > should have never made it into product. I don't think any sort of community > edition should bother itself with that. > > What you can and should care is compile-time installation prefix. And most > of the code should cleanly support prefix that's different from > /opt/couchbase. Those bits that do not support non-/opt/couchbase prefix > should be fixed and if you see anything that hardcodes /opt/couchbase > please file a bug. > > >> 3) What role playes python in Couchbase? Then I build couchbase I have to >> use some tricks (because by default I have Python 2.7) and to use python >> 2.6. I had to >> make symlinks). So will I have problems with Couchbase according to this >> situation? How can I ay to Couchbase use /usr/bin/python2.6 instead of >> /bin/python? >> > > A bunch of tools depend on. My understanding is that our backup tools > depend on python quite heavily. Whether they really need 2.6 or if they can > eat 2.7 I cannot say. > > Some of python code is dealing with offline upgrade (as far back as 1.8 > where we had different data storage engine). But I'm not sure if that part > is open or not. If it is open it doesn't look like you should bother > yourself with packaging those bits. > > -- You received this message because you are subscribed to the Google Groups "Couchbase" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
