summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChunrong Guo <b40290@freescale.com>2013-03-08 15:28:30 +0000
committerMatthew McClintock <msm-oss@mcclintock.net>2013-03-08 17:59:51 -0600
commit54c4da0a46ec4b8752ff67da31fe626d783d432b (patch)
treea051b0c2e6d809fcfc2acc8956e44d8cd24d6791
parente699fcc24d25e4a09ff314922a857577a6909736 (diff)
downloadmeta-fsl-ppc-54c4da0a46ec4b8752ff67da31fe626d783d432b.tar.gz
lio-utils: add tcm_start.sh and lio_start.sh to rootfs
*following scripts had been added /etc/init.d/target /etc/target/tcm_start.sh /etc/target/lio_start.sh Signed-off-by: Chunrong Guo <b40290@freescale.com>
-rw-r--r--recipes-tools/lio-utils/lio-utils_4.0.bb9
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"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" 5LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df"
6 6
7PR = "r1" 7PR = "r2"
8 8
9SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \ 9SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \
10 file://lio-utils-install-more-modules.patch " 10 file://lio-utils-install-more-modules.patch "
@@ -46,13 +46,16 @@ do_install() {
46 if test -d ${S}/tools; then 46 if test -d ${S}/tools; then
47 oe_runmake install 47 oe_runmake install
48 fi 48 fi
49 49
50 install -d ${D}/etc/target/
50 install -d ${D}/etc/init.d/ 51 install -d ${D}/etc/init.d/
51 install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/ 52 install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/
53 install -m 755 ${S}/conf/tcm_start.default ${D}/etc/target/tcm_start.sh
54 install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh
52} 55}
53 56
54RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ 57RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \
55 python-datetime python-textutils python-crypt python-netclient python-email" 58 python-datetime python-textutils python-crypt python-netclient python-email"
56 59
57 60
58FILES_${PN} += "${sbindir}/* /etc/init.d/*" 61FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*"