diff options
Diffstat (limited to 'meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.7.bb')
-rw-r--r-- | meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.7.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.7.bb b/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.7.bb new file mode 100644 index 0000000..b4b9ebc --- /dev/null +++ b/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.7.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | DESCRIPTION = "Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720." | ||
2 | HOMEPAGE = "http://www.open-iscsi.org/" | ||
3 | LICENSE = "GPL-2.0-only" | ||
4 | PR = "r1" | ||
5 | |||
6 | inherit autotools systemd pkgconfig | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
9 | DEPENDS = "kmod openssl util-linux open-isns" | ||
10 | DEPENDS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
11 | |||
12 | SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https;branch=master \ | ||
13 | file://0001-Makefile-Fix-build-error-of-cross-build.patch \ | ||
14 | file://0001-Fix-usr-bin-sed-to-sed.patch \ | ||
15 | file://0001-Modified-path-of-systemd-service-from-usr-lib-to-lib.patch \ | ||
16 | " | ||
17 | |||
18 | SRCREV = "7b53fcc502da8617110fd64d675b476772c28a6f" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | B = "${S}" | ||
22 | |||
23 | PARALLEL_MAKEINST = "" | ||
24 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
25 | EXTRA_OEMAKE += "CONFIGURE_ARGS='--host=${HOST_SYS}' MFLAGS='' LIB_DIR=${libdir}" | ||
26 | RDEPENDS:${PN} += "bash" | ||
27 | |||
28 | SYSTEMD_PACKAGES = "${PN}" | ||
29 | SYSTEMD_SERVICE:${PN} = "iscsi.service \ | ||
30 | iscsid.socket \ | ||
31 | iscsiuio.socket \ | ||
32 | iscsid.service \ | ||
33 | iscsi-init.service \ | ||
34 | iscsiuio.service \ | ||
35 | " | ||
36 | SYSTEMD_AUTO_ENABLE = "disable" | ||
37 | FILES:${PN} += " \ | ||
38 | ${systemd_system_unitdir}/iscsi.service \ | ||
39 | ${systemd_system_unitdir}/iscsid.socket \ | ||
40 | ${systemd_system_unitdir}/iscsiuio.socket \ | ||
41 | ${systemd_system_unitdir}/iscsid.service \ | ||
42 | ${systemd_system_unitdir}/iscsi-init.service \ | ||
43 | ${systemd_system_unitdir}/iscsiuio.service \ | ||
44 | ${systemd_unitdir}/system-generators/ibft-rule-generator \ | ||
45 | " | ||