Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9793AE009B8; Thu, 6 Aug 2015 06:36:00 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.146.13 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3F8E5E00867 for ; Thu, 6 Aug 2015 06:35:57 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.1/8.15.1) with ESMTPS id t76DZvsl010447 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 6 Aug 2015 06:35:57 -0700 (PDT) Received: from yow-masselst-d1.localnet (128.224.56.91) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.235.1; Thu, 6 Aug 2015 06:35:57 -0700 From: Mark Asselstine To: Date: Thu, 6 Aug 2015 09:37:13 -0400 Message-ID: <10602474.99xbkQu933@yow-masselst-d1> Organization: Wind River Internation Inc. User-Agent: KMail/4.13.3 (Linux/3.13.0-52-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1438806592-32745-3-git-send-email-mark.asselstine@windriver.com> References: <1438806592-32745-1-git-send-email-mark.asselstine@windriver.com> <1438806592-32745-3-git-send-email-mark.asselstine@windriver.com> MIME-Version: 1.0 X-Originating-IP: [128.224.56.91] Cc: meta-virtualization@yoctoproject.org Subject: Re: [m-c-s][PATCH 02/11] meta-openstack: add wildcard to libvirt bbappend X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2015 13:36:00 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On August 5, 2015 16:29:43 Mark Asselstine wrote: > This is currently a dangling bbappend as libvirt is now version > 1.2.15. The content of the file appears to still be relevant so simply > renaming this bbappend to apply to a range of releases. This will > throw a warning as no 'sanlock' PKGCONFIG currently exists in the base > recipe, a commit will be sent for meta-virtualizaiton to add this. I might still send a commit for meta-virt to add the sanlock PKGCONFIG but there is yet to exist a recipe for sanlock so I might just do a V2 of this patch and remove 'sanlock' from the PACKAGECONFIG. Obviously this dangler has been dangling for a long time. Mark > > Signed-off-by: Mark Asselstine > --- > .../recipes-extended/libvirt/libvirt_1.%.bbappend | 13 > +++++++++++++ .../recipes-extended/libvirt/libvirt_1.2.12.bbappend | > 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) > create mode 100644 > meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend delete mode > 100644 meta-openstack/recipes-extended/libvirt/libvirt_1.2.12.bbappend > > diff --git a/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend > b/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend new file > mode 100644 > index 0000000..195633b > --- /dev/null > +++ b/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend > @@ -0,0 +1,13 @@ > +PACKAGECONFIG ?= "qemu lxc test remote macvtap libvirtd udev yajl \ > + python sanlock ebtables \ > + ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ > + " > + > +inherit useradd > +USERADD_PACKAGES = "${PN}" > +GROUPADD_PARAM_${PN} = "--system libvirt" > + > +do_install_append() { > + sed -e "s:^#unix_sock_group =:unix_sock_group =:g" -i > ${D}/etc/libvirt/libvirtd.conf + sed -e "s:^#unix_sock_rw_perms > =:unix_sock_rw_perms =:g" -i ${D}/etc/libvirt/libvirtd.conf +} > diff --git a/meta-openstack/recipes-extended/libvirt/libvirt_1.2.12.bbappend > b/meta-openstack/recipes-extended/libvirt/libvirt_1.2.12.bbappend deleted > file mode 100644 > index 195633b..0000000 > --- a/meta-openstack/recipes-extended/libvirt/libvirt_1.2.12.bbappend > +++ /dev/null > @@ -1,13 +0,0 @@ > -PACKAGECONFIG ?= "qemu lxc test remote macvtap libvirtd udev yajl \ > - python sanlock ebtables \ > - ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ > - " > - > -inherit useradd > -USERADD_PACKAGES = "${PN}" > -GROUPADD_PARAM_${PN} = "--system libvirt" > - > -do_install_append() { > - sed -e "s:^#unix_sock_group =:unix_sock_group =:g" -i > ${D}/etc/libvirt/libvirtd.conf - sed -e "s:^#unix_sock_rw_perms > =:unix_sock_rw_perms =:g" -i ${D}/etc/libvirt/libvirtd.conf -} > -- > 2.1.4