From nobody Sat Feb 7 09:59:00 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1641849872265519.5933818227934; Mon, 10 Jan 2022 13:24:32 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-6-6U6zlR0rNN2G39z6hMqiQw-1; Mon, 10 Jan 2022 16:24:27 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 712EE83DD21; Mon, 10 Jan 2022 21:24:21 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1A2385BE3C; Mon, 10 Jan 2022 21:24:20 +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 70E921809CB8; Mon, 10 Jan 2022 21:24:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20ALODn0014404 for ; Mon, 10 Jan 2022 16:24:14 -0500 Received: by smtp.corp.redhat.com (Postfix) id CA46040CFD02; Mon, 10 Jan 2022 21:24:13 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C462B40CFD01 for ; Mon, 10 Jan 2022 21:24:13 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AADDF185A79C for ; Mon, 10 Jan 2022 21:24:13 +0000 (UTC) Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.111.102]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-342-g61dkhrSOeuokVxK7YsicA-1; Mon, 10 Jan 2022 16:24:11 -0500 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05lp2174.outbound.protection.outlook.com [104.47.17.174]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-30-FxB1PvUrM0CP13aAOmBo7Q-1; Mon, 10 Jan 2022 22:24:08 +0100 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM0PR04MB4546.eurprd04.prod.outlook.com (2603:10a6:208:75::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.7; Mon, 10 Jan 2022 21:24:07 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::d5d2:21c0:eae6:3aea]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::d5d2:21c0:eae6:3aea%5]) with mapi id 15.20.4867.012; Mon, 10 Jan 2022 21:24:07 +0000 X-MC-Unique: 6U6zlR0rNN2G39z6hMqiQw-1 X-MC-Unique: g61dkhrSOeuokVxK7YsicA-1 X-MC-Unique: FxB1PvUrM0CP13aAOmBo7Q-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V2 1/2] build: Only install libvirt-guests when building libvirtd Date: Mon, 10 Jan 2022 14:24:00 -0700 Message-ID: <20220110212401.31422-2-jfehlig@suse.com> In-Reply-To: <20220110212401.31422-1-jfehlig@suse.com> References: <20220110212401.31422-1-jfehlig@suse.com> X-ClientProxiedBy: AS8PR07CA0015.eurprd07.prod.outlook.com (2603:10a6:20b:451::28) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d0c0aa1f-4a55-4beb-722f-08d9d47f88e0 X-MS-TrafficTypeDiagnostic: AM0PR04MB4546:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:568 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: ROB7qFl55HyK7HHHlVuBBB3BmUcXsAqTZZjGxFaW2SO+d5Vk7C0y1MA3vfCYpDNeeJDWzlQvnQEI+O9yDJvLltD6Wngrtujd5YeGLikvJrijw/FW4j5rsGg+yNvwRd09MIZiV8uXEgutrmlM/QlUasNucNWE4Ti5bUMnZ1yM2EFJt/4rIrWD34GOmGuFN8Q8Dk9a8jfz8XNAOhiKxo/nNSj6NCUiwLuTDpkwOeSAOiQxS8MY0zjqjUgTGMCn3eCZLuVx5CBwUVg6a/+1kiQrcDLzLlGqhSAnntF0BGd5BIn16b1PdkH+1vyw5djMseggB4k8RlgicGUNqUN7F3EdqWGPLa/S3zxTU1v8LKeLVI8DsEs0Le9qevPCn3UGZ9xJYf3K6a+ZdncGRj5TkubL5phSbzfOAhOMUwb9vUR+uVTBHX8ib2f+58WsDhGNYN5FVDtXlD6auK6zzkvFWShhPnlQOPiOIPGSYykaJWbciRpMqxmOFxUZ4l0G+RYloIgAjMElivfOnojLV5T1daIkeAWqtVVNsXcomYquZGxhZZj+K4aSFX3yEoDaMbPLmy+RjKvMFs9fNsLaw6DOEg2Nzhy7Qny3I/sV6Uguy9Gtkikgd1vzbTYpRdoh3+vRtK35Icd5SNVbHtIaQihaNZBgug== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(86362001)(2616005)(83380400001)(6506007)(6666004)(6512007)(316002)(6916009)(36756003)(8676002)(66556008)(66946007)(508600001)(66476007)(38100700002)(1076003)(8936002)(186003)(26005)(2906002)(6486002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?yuvqiSjClhymgcvCY3QR/jU+7sW3e9DDHmjmFqxQuNGeuTxyVDld1ilRbUc4?= =?us-ascii?Q?lIeYouOKnasi8NnDSgW/Z00nbEfq4l1chWMixu2/ANy959NMqvdW0lCNAhK8?= =?us-ascii?Q?mQIg1r7OZvOWHKdPwf2FDchuFkdSDkS9k4Y6RrVwCMxIt6GqJ6jnSgkbMWu3?= =?us-ascii?Q?hun044fdPGW27wUrIZ+fCPl2BjqfBfRPM5yCJ7HIMRwkJ1SHAtU19aKCSKzW?= =?us-ascii?Q?7Vi+IdyrRtZN0lKZ/X7iUA9pav2RJhQH3ekvQfILa8MtgEaAFGdt7N1iBy0j?= =?us-ascii?Q?LZ5zxMTudmyyyZEfJWBJpLWPk8DP1Vw9g+aas1a6T5Jjp62VnrPmYDOL1SfF?= =?us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5mkdlRiiiVGy2Yn35Ypu5CdwhvrVHJSirUmcH1T?= =?us-ascii?Q?h4Xy941AV8bZKmmfbqgdo6kCiGAXd7K3aziQTP5IAYoVn+kX8N7IhNd3fFsK?= =?us-ascii?Q?Kn690sZOXK9AFw3hbk0WPbRFEQ/Lb8Ll3CoNejonRf/+Dua0QIq3EWXLP4eq?= =?us-ascii?Q?fhSvOehfFBc6DBLnGXZHQ5MOVJ+klMrFLO/Dg+hmiPnM9GyerFVOC5qMg7FM?= =?us-ascii?Q?iOEMwRO6UDMHtPmKFJP3FQIR/PH0NM3WG6bSp5kAaqaNeCOiYiRbg/97MQiD?= =?us-ascii?Q?Y8cNR+oAnDDS9gG5mVnRqZLoZnJoA0F8gEg6FyclaB0LKjpzKdwK12i+S6ZO?= =?us-ascii?Q?Scs/A4KfwxbopILecbDCUUBhZLnfz3EibMXSqhJGeVthFxnxyShdv79tOCFD?= =?us-ascii?Q?J0vHU3EK7dE+IiN0haiFKlw=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0c0aa1f-4a55-4beb-722f-08d9d47f88e0 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2022 21:24:07.2919 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kATMvIu/mmko/apZpJRAX81DePwDOKNw4ajtEfMuElvd1shuJOARmVfFB8LkTfxY4xIhhdSVJcALr3kWryQiiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4546 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 20ALODn0014404 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1641849873523100001 Content-Type: text/plain; charset="utf-8" libvirt-guests was already moved to the libvirt daemon package in commit d800c50349. It only needs to be installed when building libvirtd. Signed-off-by: Jim Fehlig --- tools/meson.build | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/tools/meson.build b/tools/meson.build index 22fa3604ba..2d0aecb90b 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -297,29 +297,31 @@ if conf.has('WITH_SANLOCK') ) endif =20 -configure_file( - input: 'libvirt-guests.sh.in', - output: '@BASENAME@', - configuration: tools_conf, - install: true, - install_dir: libexecdir, - install_mode: 'rwxrwxr-x', -) - -if init_script =3D=3D 'systemd' - install_data( - 'libvirt-guests.sysconf', - install_dir: sysconfdir / 'sysconfig', - rename: 'libvirt-guests', - ) - +if conf.has('WITH_LIBVIRTD') configure_file( - input: 'libvirt-guests.service.in', + input: 'libvirt-guests.sh.in', output: '@BASENAME@', configuration: tools_conf, install: true, - install_dir: prefix / 'lib' / 'systemd' / 'system', + install_dir: libexecdir, + install_mode: 'rwxrwxr-x', ) + + if init_script =3D=3D 'systemd' + install_data( + 'libvirt-guests.sysconf', + install_dir: sysconfdir / 'sysconfig', + rename: 'libvirt-guests', + ) + + configure_file( + input: 'libvirt-guests.service.in', + output: '@BASENAME@', + configuration: tools_conf, + install: true, + install_dir: prefix / 'lib' / 'systemd' / 'system', + ) + endif endif =20 if bash_completion_dep.found() --=20 2.34.1