From nobody Sat May 4 01:35:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1598450472; cv=none; d=zohomail.com; s=zohoarc; b=jGry7vnNoumCZV6/bDIAUjwHvqWVnrfuIB7ur7dEu6Im06JN91Iax7/fdQBQ2zzJ6ysV0BaSW6XTdp0z6q/1JTCNjBJ70mQA4tdxy/MDvuDfcDs7LqDODMPU1RBJcCU1BTyLGSZTjaoISmGlNw1d6nUgk8pFR2iSRgYfOanYGxg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598450472; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=4u7ajKD3AdpQj2TjAlekPZZXDVpKEIW7pRtdfy7Yvp8=; b=F7gqxX2j2BDvQP1KTp+htcgyZVfiM67CKXbLNa8fKCkt12oReC+nb9IHj9RXc6oVAlnzAtog4Jng5WCyvBCSQFB72W14hAqKneiEKKADpFCTXpF9USFAT/kCxO/C7RU/1YsS9sqA0Jk7j3YYboiSHyAcLq4ID65vPa3D2vQ8FIA= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1598450472111580.7766032176564; Wed, 26 Aug 2020 07:01:12 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-438-KHpHFRufPiC72jTwx4npqQ-1; Wed, 26 Aug 2020 10:01:07 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 99C3E189E608; Wed, 26 Aug 2020 14:01:00 +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 9E03050EB6; Wed, 26 Aug 2020 14:00:59 +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 842B6181A869; Wed, 26 Aug 2020 14:00:54 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 07QE0qLs031677 for ; Wed, 26 Aug 2020 10:00:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id ACBB5112C089; Wed, 26 Aug 2020 14:00:50 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 46C3F112C09D for ; Wed, 26 Aug 2020 14:00:42 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C1B3490184E for ; Wed, 26 Aug 2020 14:00:42 +0000 (UTC) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-547-twWfCyoYMzyQ0wDvyPt8DA-1; Wed, 26 Aug 2020 10:00:38 -0400 Received: by mail-lj1-f193.google.com with SMTP id w14so2497377ljj.4 for ; Wed, 26 Aug 2020 07:00:38 -0700 (PDT) Received: from kloomba.my.domain ([95.104.140.4]) by smtp.gmail.com with ESMTPSA id l13sm602241lfk.18.2020.08.26.07.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 07:00:36 -0700 (PDT) X-MC-Unique: KHpHFRufPiC72jTwx4npqQ-1 X-MC-Unique: twWfCyoYMzyQ0wDvyPt8DA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4u7ajKD3AdpQj2TjAlekPZZXDVpKEIW7pRtdfy7Yvp8=; b=gNe2IJFSvGNCf09HmbbQIdNYTnoGgQwV7tMg1T9kGCMrexxKrgRMrX8aTFjJDWbnoI ufIQLxxFrnl7RRoPKJzXj/oJ0y9QUuwdCK6WUEykPV950J27llsxENV/d/ASxTGjmV3r dI4Jyjureed1iKNggn6fnjeeqh8QDXXkHCDZW8+2Emdg3adIBwlL0mz2nbTBB9duWtgh BzblbZycgoKdNIlMaIyAbLII23MdcJ1zF9t3CTQk8EWXXceWCM6dkmXl3OY3oeIJsoKL Gjj7HYa+v9Cl1g5Bj5ZI/ULEqcSoW4UFIkrqZMtZ0Vi0jIpkfwJwgePiTei/8u4ZdrEi GraA== X-Gm-Message-State: AOAM532BV6PBc5jdNspMrrCvVK92wxvUh4+Zh0dFGCVwoVB/a85Q2f5R C/Vd5N62p/f3LG0DDrKteOcIAXkWbx1lsQ== X-Google-Smtp-Source: ABdhPJzxrM53HcU9lPrRYjTa4ULWpL5vNMXryw43D6rIRhOQTGdfc5G4tv8ANRomVayqggpJcxUqqQ== X-Received: by 2002:a2e:3609:: with SMTP id d9mr6682500lja.17.1598450437066; Wed, 26 Aug 2020 07:00:37 -0700 (PDT) From: Roman Bogorodskiy To: libvir-list@redhat.com Subject: [PATCH] meson: don't install sysconf files unconditionally Date: Wed, 26 Aug 2020 18:00:26 +0400 Message-Id: <20200826140026.44452-1-bogorodskiy@gmail.com> MIME-Version: 1.0 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.78 on 10.11.54.3 X-loop: libvir-list@redhat.com Cc: Roman Bogorodskiy 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.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" There's no need to install sysconf files when init script installation was not requested, i.e. when configured with init_script=3Dnone. Signed-off-by: Roman Bogorodskiy Reviewed-by: Daniel P. Berrang=C3=A9 --- src/meson.build | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/meson.build b/src/meson.build index d058cec2e4..5d8deaf548 100644 --- a/src/meson.build +++ b/src/meson.build @@ -858,13 +858,15 @@ if conf.has('WITH_LIBVIRTD') endif endif =20 -foreach sysconf : sysconf_files - install_data( - sysconf['file'], - install_dir: sysconfdir / 'sysconfig', - rename: [ sysconf['name'] ], - ) -endforeach +if init_script !=3D 'none' + foreach sysconf : sysconf_files + install_data( + sysconf['file'], + install_dir: sysconfdir / 'sysconfig', + rename: [ sysconf['name'] ], + ) + endforeach +endif =20 if conf.has('WITH_DTRACE_PROBES') custom_target( --=20 2.27.0