Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D7969E009A7; Wed, 8 Feb 2017 05:49:55 -0800 (PST) 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 * [134.134.136.100 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A8541E009AA for ; Wed, 8 Feb 2017 05:49:53 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 08 Feb 2017 05:49:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,346,1477983600"; d="scan'208";a="818478632" Received: from avallurigigabyte.fi.intel.com ([10.237.72.170]) by FMSMGA003.fm.intel.com with ESMTP; 08 Feb 2017 05:49:52 -0800 From: Amarnath Valluri To: meta-virtualization@yoctoproject.org Date: Wed, 8 Feb 2017 15:46:33 +0200 Message-Id: <1486561594-24053-3-git-send-email-amarnath.valluri@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486561594-24053-1-git-send-email-amarnath.valluri@intel.com> References: <1486561594-24053-1-git-send-email-amarnath.valluri@intel.com> Subject: [PATCH 3/4] lxc: Make use of bitbake variables where appropriate. 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: Wed, 08 Feb 2017 13:49:55 -0000 Signed-off-by: Amarnath Valluri --- recipes-containers/lxc/lxc_2.0.0.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/recipes-containers/lxc/lxc_2.0.0.bb b/recipes-containers/lxc/lxc_2.0.0.bb index dcbd171..2e6b967 100644 --- a/recipes-containers/lxc/lxc_2.0.0.bb +++ b/recipes-containers/lxc/lxc_2.0.0.bb @@ -92,10 +92,9 @@ RDEPENDS_${PN}-templates += "bash" ALLOW_EMPTY_${PN}-networking = "1" -FILES_${PN}-setup += "/etc/tmpfiles.d" -FILES_${PN}-setup += "/lib/systemd/system" -FILES_${PN}-setup += "/usr/lib/systemd/system" -FILES_${PN}-setup += "/etc/init.d" +FILES_${PN}-setup += "${sysconfdir}/tmpfiles.d" +FILES_${PN}-setup += "${systemd_system_unitdir}" +FILES_${PN}-setup += "${sysconfdir}/init.d" PRIVATE_LIBS_${PN}-ptest = "liblxc.so.1" -- 2.7.4