Re: packaging init systems in a more autoools style way.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 3 Jun 2015, Ken Dreyer wrote:
> On 06/03/2015 03:38 PM, Sage Weil wrote:
> > On Wed, 3 Jun 2015, Ken Dreyer wrote:
> >> On 06/03/2015 02:45 PM, Sage Weil wrote:
> >>> Sounds good to me.  It could (should?) even error out if no init
> >> system is
> >>> specified?  Otherwise someone will likely be in for a surprise.
> >>
> >> I was picturing that we'd just autodetect based on OS version (eg Ubuntu
> >> 15.04 should default to --with-init=systemd). It's one less thing to get
> >> wrong during the build process.
> >>
> >> What do you think?
> > 
> > ./configure ... --with-init=`src/ceph-detect-init` ?
> > 
> > sage
> > 
> 
> I should have been clearer. I was thinking that we'd call that
> detect-init script inside ./configure itself , unless the user specifies
> --with-init=foo .

Works for me, as long as there is only 1 piece of code (ceph-detect-init) 
that does the detection!

sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux