From: "Luis R. Rodriguez" Subject: Re: [PATCH v4 14/15] autoconf: xen: add systemd support into the build system Date: Thu, 15 May 2014 03:58:44 +0200 Message-ID: <20140515015844.GM13289@wotan.suse.de> References: <1398820328-15132-1-git-send-email-mcgrof@do-not-panic.com> <1398820328-15132-15-git-send-email-mcgrof@do-not-panic.com> <536A61E1.1010407@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WkkwZ-0005EI-UE for xen-devel@lists.xenproject.org; Thu, 15 May 2014 01:58:48 +0000 Content-Disposition: inline In-Reply-To: <536A61E1.1010407@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: Ian Campbell , Stefano Stabellini , Jan =?utf-8?Q?R=C4=99korajski?= , Ian Jackson , Jacek Konieczny , M A Young , xen-devel@lists.xenproject.org, "Luis R. Rodriguez" List-Id: xen-devel@lists.xenproject.org On Wed, May 07, 2014 at 06:40:01PM +0200, Roger Pau Monn=E9 wrote: > On 30/04/14 03:12, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > +dnl Once and if systemd is prevalent we can just use AX_ENABLE_SYSTEMD= () > > +AX_ALLOW_SYSTEMD() > = > Shouldn't systemd init scripts be installed by default if systemd is > detect on the host? That is up to whoever is building the stuff, if systemd is enabled then both old init scripts and systemd scripts will be installed. > Or are there cases of distros that install systemd but don't use it? There are cases where a system can have libraries for systemd but not have systemd. > If I'm understanding this right, the user has to always pass > --enable-systemd in order to get systemd init scripts installed. For now I think this is a good option as we get systemd widely tested, eventually I agree that this should be switched to AX_ENABLE_SYSTEMD() which will then enable systemd if systemd libraries are detected. I'd prefer we do this once we get all all this widely tested. > > AC_OUTPUT() > > = > > diff --git a/tools/hotplug/common/Makefile b/tools/hotplug/common/Makef= ile > > index 4a63f40..45fd840 100644 > > --- a/tools/hotplug/common/Makefile > > +++ b/tools/hotplug/common/Makefile > > @@ -1,5 +1,6 @@ > > XEN_ROOT =3D $(CURDIR)/../../.. > > include $(XEN_ROOT)/tools/Rules.mk > > +include $(XEN_ROOT)/config/Tools.mk > = > tools/Rules.mk already includes config/Tools.mk Good catch, changed. Luis