diff options
| author | Chunrong Guo <b40290@freescale.com> | 2013-03-08 15:28:30 +0000 |
|---|---|---|
| committer | Matthew McClintock <msm-oss@mcclintock.net> | 2013-03-08 17:59:51 -0600 |
| commit | 54c4da0a46ec4b8752ff67da31fe626d783d432b (patch) | |
| tree | a051b0c2e6d809fcfc2acc8956e44d8cd24d6791 | |
| parent | e699fcc24d25e4a09ff314922a857577a6909736 (diff) | |
| download | meta-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.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" | |||
| 4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" | 5 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" |
| 6 | 6 | ||
| 7 | PR = "r1" | 7 | PR = "r2" |
| 8 | 8 | ||
| 9 | SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \ | 9 | SRC_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 | ||
| 54 | RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \ | 57 | RDEPENDS_${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 | ||
| 58 | FILES_${PN} += "${sbindir}/* /etc/init.d/*" | 61 | FILES_${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*" |
