diff options
Diffstat (limited to 'meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb')
-rw-r--r-- | meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb b/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb index b71d8dc..58e5898 100644 --- a/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb +++ b/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb | |||
@@ -7,7 +7,7 @@ inherit systemd autotools pkgconfig | |||
7 | 7 | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
9 | DEPENDS = "kmod openssl util-linux open-isns" | 9 | DEPENDS = "kmod openssl util-linux open-isns" |
10 | DEPENDS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 10 | DEPENDS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
11 | 11 | ||
12 | SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https \ | 12 | SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https \ |
13 | file://0001-fix-build-error-of-cross-build.patch \ | 13 | file://0001-fix-build-error-of-cross-build.patch \ |
@@ -41,20 +41,20 @@ do_install () { | |||
41 | 41 | ||
42 | # systemd support | 42 | # systemd support |
43 | PACKAGES =+ "${PN}-systemd" | 43 | PACKAGES =+ "${PN}-systemd" |
44 | RDEPENDS_${PN} += "bash" | 44 | RDEPENDS:${PN} += "bash" |
45 | RDEPENDS_${PN}-systemd += "${PN}" | 45 | RDEPENDS:${PN}-systemd += "${PN}" |
46 | FILES_${PN}-systemd += "${base_libdir}/systemd \ | 46 | FILES:${PN}-systemd += "${base_libdir}/systemd \ |
47 | ${sysconfdir}/default/iscsi-initiator \ | 47 | ${sysconfdir}/default/iscsi-initiator \ |
48 | " | 48 | " |
49 | SYSTEMD_PACKAGES = "${PN}-systemd" | 49 | SYSTEMD_PACKAGES = "${PN}-systemd" |
50 | SYSTEMD_SERVICE_${PN}-systemd = "iscsi.service \ | 50 | SYSTEMD_SERVICE:${PN}-systemd = "iscsi.service \ |
51 | iscsiuio.service \ | 51 | iscsiuio.service \ |
52 | iscsid.service \ | 52 | iscsid.service \ |
53 | iscsi-init.service \ | 53 | iscsi-init.service \ |
54 | iscsid.socket \ | 54 | iscsid.socket \ |
55 | iscsiuio.socket " | 55 | iscsiuio.socket " |
56 | 56 | ||
57 | do_install_append () { | 57 | do_install:append () { |
58 | install -d ${D}${systemd_unitdir}/system | 58 | install -d ${D}${systemd_unitdir}/system |
59 | install -m 0644 ${S}/etc/systemd/* ${D}${systemd_unitdir}/system/ | 59 | install -m 0644 ${S}/etc/systemd/* ${D}${systemd_unitdir}/system/ |
60 | } | 60 | } |