From nobody Mon Feb 9 10:28:54 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1547129518824159.63013165499865; Thu, 10 Jan 2019 06:11:58 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DAEA5A1F64; Thu, 10 Jan 2019 14:11:56 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A237C672E5; Thu, 10 Jan 2019 14:11:56 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5FEF93F605; Thu, 10 Jan 2019 14:11:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x0AEBrDq006255 for ; Thu, 10 Jan 2019 09:11:53 -0500 Received: by smtp.corp.redhat.com (Postfix) id 4E94E27C4B; Thu, 10 Jan 2019 14:11:53 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.212]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C8C7126579 for ; Thu, 10 Jan 2019 14:11:52 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Thu, 10 Jan 2019 15:11:45 +0100 Message-Id: <20190110141146.3102-3-abologna@redhat.com> In-Reply-To: <20190110141146.3102-1-abologna@redhat.com> References: <20190110141146.3102-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v2 2/3] src: Only install SysV init scripts when libvirtd is built X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 10 Jan 2019 14:11:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" This is consistent with the way we already handle configuration for other init systems such as upstart and systemd. Signed-off-by: Andrea Bolognani --- src/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 0a8f54120d..82a96adb99 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -810,6 +810,7 @@ install-logrotate: uninstall-logrotate: endif ! WITH_LIBVIRTD =20 +if WITH_LIBVIRTD if LIBVIRT_INIT_SCRIPT_RED_HAT initdir =3D $(sysconfdir)/rc.d/init.d =20 @@ -830,6 +831,10 @@ else ! LIBVIRT_INIT_SCRIPT_RED_HAT install-init:: uninstall-init:: endif ! LIBVIRT_INIT_SCRIPT_RED_HAT +else ! WITH_LIBVIRTD +install-init:: +uninstall-init:: +endif ! WITH_LIBVIRTD =20 =20 %.8: %.8.in $(top_srcdir)/configure.ac --=20 2.20.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list