From nobody Mon Feb 9 12:10:07 2026 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1570036025; cv=none; d=zoho.com; s=zohoarc; b=of/D3wVuKEYWozDKlDW3fo0+3tjeD+UjL/RJNgXvYArZ0iawr9jBwtwjLndsMae7NitVY9o2GkgzEj9Y77SGu7v8SbeVcXCiMLiAiEPHVWV/itVrYL/8HFkyY5cTYUNyx8kjvEe1ojoRa2V0+xIyycJ3WpHSDX5gcM0sFYLGwoc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570036025; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=X0B1IXI6NNpxV3q1JLhkGuXfGnOGEKOsZIsTSlSEZLc=; b=Juz5gJ5oAtK1Dc3/SQk1f7UoXX9ykI54+h8BbBtesZDkOyH6/ahKG2qzfiTCLZ/1ciR4gS+aMBnFxpx/LGklXmnQXbWOS/DB47gZrYuApbiGre2e9TyqFe2x8vKOaksq6t+q2au25fH7SXxTMG7RkSPIpYLPC8T4AhBsM8jK58c= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1570036024749971.2159359215093; Wed, 2 Oct 2019 10:07:04 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iFi4a-0006YV-IY; Wed, 02 Oct 2019 17:05:56 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iFi4Z-0006YH-FU for xen-devel@lists.xenproject.org; Wed, 02 Oct 2019 17:05:55 +0000 Received: from mo6-p01-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5301::9]) by localhost (Halon) with ESMTPS id e497ff68-e536-11e9-8628-bc764e2007e4; Wed, 02 Oct 2019 17:05:54 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 44.28.0 SBL|AUTH) with ESMTPSA id j06a90v92H5lUVd (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 2 Oct 2019 19:05:47 +0200 (CEST) X-Inumbo-ID: e497ff68-e536-11e9-8628-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1570035953; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=4DYp51Vc9ztkdEHMvY1HqDsmG8RHkVlIlHFvANw7/Sw=; b=sFXgiJvG19mceTyuq1g40w0suxrVbwWHMsaQDz/BPa2w6HkbWDcNpgM1w2UvCgBc2Q GmElUxlkKvVr8WZtPaGeDIhjlM4xfq6Ug26cyynyJrXNfib2rOHQv2/0PFxfvscWSPNM 2PRNV+8WX3NmDJ+aEEodk2tA5Kjwh2wxgtjpaSOFhzbwqKvmE4i6BKmCmWyjjFWGLd13 7CezK3VRqQr9OeqMavzVtsbzs6TENhVYTqIo+dHJOTloSiVStGv99uABOl5Yl2SfQZ1M YvhgfBh2ihmphMQ1D1YYGgr4j4yXQ4J0DyOcx5aYahPYf3AG0r5nwpMJeRx31oIPrt1/ V24Q== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzBW/OdlBZQ4AHSS2Gkg" X-RZG-CLASS-ID: mo00 From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Wed, 2 Oct 2019 19:05:37 +0200 Message-Id: <20191002170543.26571-3-olaf@aepfle.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191002170543.26571-1-olaf@aepfle.de> References: <20191002170543.26571-1-olaf@aepfle.de> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v2 2/8] tools: add with-xen-scriptdir configure option X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Olaf Hering , Ian Jackson , Wei Liu Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) In the near future all fresh installations will have an empty /etc. The content of this directory will not be controlled by the package manager anymore. One of the reasons for this move is to make snapshots more robust. As a first step into this direction, add a knob to configure to allow storing the hotplug scripts to libexec because they are not exactly configuration. The current default is unchanged, which is /etc/xen/scripts. Signed-off-by: Olaf Hering --- m4/paths.m4 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/m4/paths.m4 b/m4/paths.m4 index 89d3bb8312..0cec2bb190 100644 --- a/m4/paths.m4 +++ b/m4/paths.m4 @@ -70,6 +70,12 @@ AC_ARG_WITH([libexec-leaf-dir], [libexec_subdir=3D$withval], [libexec_subdir=3D$PACKAGE_TARNAME]) =20 +AC_ARG_WITH([xen-scriptdir], + AS_HELP_STRING([--with-xen-scriptdir=3DDIR], + [Path to directory for dom0 hotplug scripts. [SYSCONFDIR/xen/scripts]]= ), + [xen_scriptdir_path=3D$withval], + [xen_scriptdir_path=3D$sysconfdir/xen/scripts]) + AC_ARG_WITH([xen-dumpdir], AS_HELP_STRING([--with-xen-dumpdir=3DDIR], [Path to directory for domU crash dumps. [LOCALSTATEDIR/lib/xen/dump]]= ), @@ -137,7 +143,7 @@ AC_SUBST(INITD_DIR) XEN_CONFIG_DIR=3D$CONFIG_DIR/xen AC_SUBST(XEN_CONFIG_DIR) =20 -XEN_SCRIPT_DIR=3D$XEN_CONFIG_DIR/scripts +XEN_SCRIPT_DIR=3D$xen_scriptdir_path AC_SUBST(XEN_SCRIPT_DIR) =20 case "$host_os" in _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel