Return-Path: Received: from co1outboundpool.messaging.microsoft.com (co1ehsobe002.messaging.microsoft.com [216.32.180.185]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 64E3DE0145F for ; Thu, 6 Dec 2012 05:38:14 -0800 (PST) Received: from mail21-co1-R.bigfish.com (10.243.78.246) by CO1EHSOBE002.bigfish.com (10.243.66.65) with Microsoft SMTP Server id 14.1.225.23; Thu, 6 Dec 2012 13:38:13 +0000 Received: from mail21-co1 (localhost [127.0.0.1]) by mail21-co1-R.bigfish.com (Postfix) with ESMTP id AFB2B30018B for ; Thu, 6 Dec 2012 13:38:13 +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: 0 X-BigFish: VS0(zzzz1de0h1202h1d1ah1d2ahzz17326ah8275bh8275dhz2dh2a8h668h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1155h) Received: from mail21-co1 (localhost.localdomain [127.0.0.1]) by mail21-co1 (MessageSwitch) id 135480109263276_3914; Thu, 6 Dec 2012 13:38:12 +0000 (UTC) Received: from CO1EHSMHS017.bigfish.com (unknown [10.243.78.231]) by mail21-co1.bigfish.com (Postfix) with ESMTP id 0A655D400D5 for ; Thu, 6 Dec 2012 13:38:12 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS017.bigfish.com (10.243.66.27) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 6 Dec 2012 13:38:11 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 6 Dec 2012 13:38:10 +0000 Received: from b28495.ap.freescale.net (udp143739uds.ap.freescale.net [10.192.208.202]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id qB6Dc20Q012179; Thu, 6 Dec 2012 06:38:08 -0700 From: To: Date: Thu, 6 Dec 2012 22:10:51 +0800 Message-ID: <1354803056-12793-4-git-send-email-b28495@freescale.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1354803056-12793-1-git-send-email-b28495@freescale.com> References: <1354803056-12793-1-git-send-email-b28495@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: b29882@freescale.com Subject: [PATCH 4/9] lio-utils: add tcm_start.sh and lio_start.sh to rootfs 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, 06 Dec 2012 13:38:14 -0000 Content-Type: text/plain From: Chunrong Guo *following scripts had been added /etc/init.d/target /etc/target/tcm_start.sh /etc/target/lio_start.sh Signed-off-by: Chunrong Guo --- recipes-tools/lio-utils/lio-utils_4.0.bb | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/recipes-tools/lio-utils/lio-utils_4.0.bb b/recipes-tools/lio-utils/lio-utils_4.0.bb index 31aa4fa..98101b3 100644 --- a/recipes-tools/lio-utils/lio-utils_4.0.bb +++ b/recipes-tools/lio-utils/lio-utils_4.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" -PR = "r1" +PR = "r2" SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \ file://lio-utils-install-more-modules.patch " @@ -46,13 +46,16 @@ do_install() { if test -d ${S}/tools; then oe_runmake install fi - + + install -d ${D}/etc/target/ install -d ${D}/etc/init.d/ install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/ + install -m 755 ${S}/conf/tcm_start.default ${D}/etc/target/tcm_start.sh + install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh } RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ python-datetime python-textutils python-crypt python-netclient python-email" -FILES_${PN} += "${sbindir}/* /etc/init.d/*" +FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*" -- 1.7.3.4