From nobody Thu Apr 25 03:39:57 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1600249460; cv=none; d=zohomail.com; s=zohoarc; b=YGzLpGdL/Al7k9i1ZytDhXX4URNoNkqklT0vi6853qgtRRfFWNOr9LYE9kS7etXTw4E3Gr+0tt8kbzAJNbZpevt3FXXF1aJZgKtpy+8JKqKyeJB98AlTX0082XgiKMXF3WTkGG5awRL190rLfToVM5QXyW20o+wzj6ewcwN2tP0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600249460; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=A4Bdvf8x7pq34FbeO22Tn6Otkg/x21lHRl3e25n7mbU=; b=fRYJf5IV2pt4oUX9a/pP46KDoDaAJuTLiVZbhopCnGaEh7tKuJByu4u5A8LAql1q0gVBsbGvxA7WGbWFy4YgrBM7oOaphqUdOtyJmQ8XTJLk4gSeCtWv+X6cCZaqPM1Romp+G6GTRQjkj2A8ywBF09RkdR1+Qf1ouY0xRABxUt4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 160024946034633.88508162764413; Wed, 16 Sep 2020 02:44:20 -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-123-qN1p5tBYP9OQSkoD7PC4TA-1; Wed, 16 Sep 2020 05:44:16 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 442DA81F01E; Wed, 16 Sep 2020 09:44:10 +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 E79CC5DE46; Wed, 16 Sep 2020 09:44:09 +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 4561B183D029; Wed, 16 Sep 2020 09:44:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 08G9ho1h009300 for ; Wed, 16 Sep 2020 05:43:50 -0400 Received: by smtp.corp.redhat.com (Postfix) id E352B5DE89; Wed, 16 Sep 2020 09:43:50 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-113-248.ams2.redhat.com [10.36.113.248]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0308E5DE71; Wed, 16 Sep 2020 09:43:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600249459; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=A4Bdvf8x7pq34FbeO22Tn6Otkg/x21lHRl3e25n7mbU=; b=djA7TA7Ajw8U6IvUJ2nj/A2/uG1yRrZmdahD1/cB0WT6Pg+2K0A+FuWgKcv54AUFah3o6m 51G96+Dasz1r410O5JOv5N9tGGBkBNsajOo1vHq1aTCbccJdgNDDT6FgUUvCXOl8kJf/dn rL4mWHpNFTjvO1/WC71t03IFQbHChk8= X-MC-Unique: qN1p5tBYP9OQSkoD7PC4TA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [PATCH] access: ensure ACL files are rebuilt when protocol changes Date: Wed, 16 Sep 2020 10:43:44 +0100 Message-Id: <20200916094344.1539557-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.14 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Meson is not told that the .x protocol files are an input for the generator, so it doesn't know to setup a rebuild dependancy. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Erik Skultety Reviewed-by: Pavel Hrdina --- src/access/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/access/meson.build b/src/access/meson.build index b23838a776..ff088024f6 100644 --- a/src/access/meson.build +++ b/src/access/meson.build @@ -34,6 +34,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ] =20 access_gen_headers +=3D custom_target( header_file, + input: protocol_file, output: header_file, command: [ gendispatch_prog, '--mode=3Daclheader', name, name.to_upper(), proto= col_file, @@ -43,6 +44,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ] =20 access_gen_sources +=3D custom_target( source_file, + input: protocol_file, output: source_file, command: [ gendispatch_prog, '--mode=3Daclbody', name, name.to_upper(), @@ -53,6 +55,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ] =20 access_gen_sym +=3D custom_target( syms_file, + input: protocol_file, output: syms_file, capture: true, command: [ @@ -62,6 +65,7 @@ foreach name : [ 'remote', 'qemu', 'lxc' ] =20 access_gen_xml +=3D custom_target( xml_file, + input: protocol_file, output: xml_file, capture: true, command: [ --=20 2.26.2