Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 6EF9DE009C3; 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: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -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] Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4D2E8E007AD for ; Wed, 8 Feb 2017 05:49:51 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 08 Feb 2017 05:49:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,346,1477983600"; d="scan'208";a="818478618" Received: from avallurigigabyte.fi.intel.com ([10.237.72.170]) by FMSMGA003.fm.intel.com with ESMTP; 08 Feb 2017 05:49:50 -0800 From: Amarnath Valluri To: meta-virtualization@yoctoproject.org Date: Wed, 8 Feb 2017 15:46:31 +0200 Message-Id: <1486561594-24053-1-git-send-email-amarnath.valluri@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH 1/4] containerd: Replace /lib/systemd/system with ${systemd_system_unitdir} 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 Make use of bitbake variable where appropriate, this makes the recipe portable. Signed-off-by: Amarnath Valluri --- recipes-containers/containerd/containerd_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/containerd/containerd_git.bb b/recipes-containers/containerd/containerd_git.bb index ca99e55..77c3e93 100644 --- a/recipes-containers/containerd/containerd_git.bb +++ b/recipes-containers/containerd/containerd_git.bb @@ -83,6 +83,6 @@ do_install() { fi } -FILES_${PN} += "/lib/systemd/system/*" +FILES_${PN} += "${systemd_system_unitdir}/*" INHIBIT_PACKAGE_STRIP = "1" -- 2.7.4