Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe001.messaging.microsoft.com [216.32.181.181]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CA67DE013EB for ; Thu, 29 Nov 2012 11:15:57 -0800 (PST) Received: from mail17-ch1-R.bigfish.com (10.43.68.232) by CH1EHSOBE005.bigfish.com (10.43.70.55) with Microsoft SMTP Server id 14.1.225.23; Thu, 29 Nov 2012 19:15:57 +0000 Received: from mail17-ch1 (localhost [127.0.0.1]) by mail17-ch1-R.bigfish.com (Postfix) with ESMTP id 4850B160368 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: 2 X-BigFish: VS2(zz936eIzz1de0h1202h1d1ah1d2ah1082kzz17326ah8275bh8275dhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1155h) Received: from mail17-ch1 (localhost.localdomain [127.0.0.1]) by mail17-ch1 (MessageSwitch) id 1354216554541104_24926; Thu, 29 Nov 2012 19:15:54 +0000 (UTC) Received: from CH1EHSMHS016.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.240]) by mail17-ch1.bigfish.com (Postfix) with ESMTP id 77EE24C016D for ; Thu, 29 Nov 2012 19:15:54 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS016.bigfish.com (10.43.70.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 29 Nov 2012 19:15:53 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) 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 qATJFpu9013610 for ; Thu, 29 Nov 2012 12:15:53 -0700 From: Matthew McClintock To: Date: Thu, 29 Nov 2012 13:15:31 -0600 Message-ID: <1354216551-13932-8-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 07/27] lio-utils: fix runtime issue 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:15:58 -0000 Content-Type: text/plain From: Zhenhua Luo 1. add rumtime dependency for lio-utils 2. use commit ID to fix offline build issue 3. install rc.target Signed-off-by: Zhenhua Luo --- .../files/lio-utils-install-more-modules.patch | 15 +++++++++++++++ recipes-tools/lio-utils/lio-utils_4.0.bb | 16 +++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch diff --git a/recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch b/recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch new file mode 100644 index 0000000..7f9b02d --- /dev/null +++ b/recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch @@ -0,0 +1,15 @@ +Upstream-Status: Pending + +install tcm_snap module + +Signed-off-by: Zhenhua Luo +--- a/tcm-py/setup.py 2012-09-27 04:21:14.984705400 -0500 ++++ b/tcm-py/setup.py 2012-09-27 04:20:18.387604661 -0500 +@@ -12,6 +12,6 @@ + author_email='nab@linux-iscsi.org', + url='http://linux-iscsi.org', + license='GPL', +- py_modules=['tcm_dump', 'tcm_fileio','tcm_iblock','tcm_node','tcm_pscsi','tcm_ramdisk','tcm_loop','tcm_fabric'] ++ py_modules=['tcm_dump', 'tcm_fileio','tcm_iblock','tcm_node','tcm_pscsi','tcm_ramdisk','tcm_loop','tcm_fabric', 'tcm_snap'] + ) + diff --git a/recipes-tools/lio-utils/lio-utils_4.0.bb b/recipes-tools/lio-utils/lio-utils_4.0.bb index d461350..31aa4fa 100644 --- a/recipes-tools/lio-utils/lio-utils_4.0.bb +++ b/recipes-tools/lio-utils/lio-utils_4.0.bb @@ -4,8 +4,11 @@ HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" -SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git" -SRCREV = "lio-4.0" +PR = "r1" + +SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \ + file://lio-utils-install-more-modules.patch " +SRCREV = "300d9df5e5fa29d7168fb8f0c84a4d9d57436fad" S = "${WORKDIR}/git" inherit distutils @@ -43,6 +46,13 @@ do_install() { if test -d ${S}/tools; then oe_runmake install fi + + install -d ${D}/etc/init.d/ + install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/ } -FILES_${PN} += "${sbindir}/*" +RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ + python-datetime python-textutils python-crypt python-netclient python-email" + + +FILES_${PN} += "${sbindir}/* /etc/init.d/*" -- 1.7.9.7