--- /dev/null
+Upstream-Status: Pending
+
+install tcm_snap module
+
+Signed-off-by: Zhenhua Luo <b19537@freescale.com>
+--- 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']
+ )
+
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
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/*"