summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenhua Luo <b19537@freescale.com>2012-09-28 12:40:33 +0000
committerMatthew McClintock <msm@freescale.com>2012-11-13 10:56:14 -0600
commit809dd550a75d68386b6fbab1fa182c20eb16f7fc (patch)
tree3038091696397bcc444fbcdef7aff4ae7867dfaa
parent2288ab02ed45ffe65af51916161043959f014918 (diff)
downloadmeta-fsl-ppc-809dd550a75d68386b6fbab1fa182c20eb16f7fc.tar.gz
lio-utils: fix runtime issue
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 <b19537@freescale.com>
-rw-r--r--recipes-tools/lio-utils/files/lio-utils-install-more-modules.patch15
-rw-r--r--recipes-tools/lio-utils/lio-utils_4.0.bb16
2 files changed, 28 insertions, 3 deletions
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 @@
1Upstream-Status: Pending
2
3install tcm_snap module
4
5Signed-off-by: Zhenhua Luo <b19537@freescale.com>
6--- a/tcm-py/setup.py 2012-09-27 04:21:14.984705400 -0500
7+++ b/tcm-py/setup.py 2012-09-27 04:20:18.387604661 -0500
8@@ -12,6 +12,6 @@
9 author_email='nab@linux-iscsi.org',
10 url='http://linux-iscsi.org',
11 license='GPL',
12- py_modules=['tcm_dump', 'tcm_fileio','tcm_iblock','tcm_node','tcm_pscsi','tcm_ramdisk','tcm_loop','tcm_fabric']
13+ py_modules=['tcm_dump', 'tcm_fileio','tcm_iblock','tcm_node','tcm_pscsi','tcm_ramdisk','tcm_loop','tcm_fabric', 'tcm_snap']
14 )
15
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"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df" 5LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df"
6 6
7SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git" 7PR = "r1"
8SRCREV = "lio-4.0" 8
9SRC_URI = "git://risingtidesystems.com/lio-utils.git;protocal=git \
10 file://lio-utils-install-more-modules.patch "
11SRCREV = "300d9df5e5fa29d7168fb8f0c84a4d9d57436fad"
9S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
10 13
11inherit distutils 14inherit distutils
@@ -43,6 +46,13 @@ do_install() {
43 if test -d ${S}/tools; then 46 if test -d ${S}/tools; then
44 oe_runmake install 47 oe_runmake install
45 fi 48 fi
49
50 install -d ${D}/etc/init.d/
51 install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/
46} 52}
47 53
48FILES_${PN} += "${sbindir}/*" 54RDEPENDS_${PN} += "python-stringold python-subprocess python-shell \
55 python-datetime python-textutils python-crypt python-netclient python-email"
56
57
58FILES_${PN} += "${sbindir}/* /etc/init.d/*"