Return-Path: Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe005.messaging.microsoft.com [65.55.88.15]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D3DC2E01474 for ; Thu, 29 Nov 2012 11:16:00 -0800 (PST) Received: from mail185-tx2-R.bigfish.com (10.9.14.253) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.23; Thu, 29 Nov 2012 19:15:57 +0000 Received: from mail185-tx2 (localhost [127.0.0.1]) by mail185-tx2-R.bigfish.com (Postfix) with ESMTP id 472872A00D0 for ; Thu, 29 Nov 2012 19:15:57 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 3 X-BigFish: VS3(zzzz1de0h1202h1d1ah1d2ah1082kzz8275bhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1155h) Received: from mail185-tx2 (localhost.localdomain [127.0.0.1]) by mail185-tx2 (MessageSwitch) id 1354216554558966_25847; Thu, 29 Nov 2012 19:15:54 +0000 (UTC) Received: from TX2EHSMHS029.bigfish.com (unknown [10.9.14.244]) by mail185-tx2.bigfish.com (Postfix) with ESMTP id 8352D405D5 for ; Thu, 29 Nov 2012 19:15:54 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS029.bigfish.com (10.9.99.129) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 29 Nov 2012 19:15:54 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 29 Nov 2012 19:15:53 +0000 Received: from right.am.freescale.net (right.am.freescale.net [10.82.176.228]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id qATJFpuE013610 for ; Thu, 29 Nov 2012 12:15:53 -0700 From: Matthew McClintock To: Date: Thu, 29 Nov 2012 13:15:36 -0600 Message-ID: <1354216551-13932-13-git-send-email-msm@freescale.com> X-Mailer: git-send-email 1.7.9.7 In-Reply-To: <1354216551-13932-1-git-send-email-msm@freescale.com> References: <1354216551-13932-1-git-send-email-msm@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [PATCH 12/27] lxc: create the /var/lib/lxc directory X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 19:16:01 -0000 Content-Type: text/plain From: Stuart Yoder -lxc requires this directory to be present -this patch is a workaround for the issue, plan is to submit a patch upstream to fix this and see what feedback we receive Signed-off-by: Stuart Yoder --- recipes-tools/lxc/lxc_0.8.0-rc1.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-tools/lxc/lxc_0.8.0-rc1.bb b/recipes-tools/lxc/lxc_0.8.0-rc1.bb index c8d90ae..64f36b3 100644 --- a/recipes-tools/lxc/lxc_0.8.0-rc1.bb +++ b/recipes-tools/lxc/lxc_0.8.0-rc1.bb @@ -3,7 +3,7 @@ SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" PRIORITY = "optional" -PR = "r3" +PR = "r4" DEPENDS = "libxml2 libcap" RDEPENDS_${PN} = " \ rsync \ @@ -36,3 +36,8 @@ EXTRA_OECONF = "--disable-doc --disable-rpath" inherit autotools FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" + +# create empty dir needed by lxc +do_install_append() { + install -d ${D}${localstatedir}/lib/lxc +} -- 1.7.9.7