From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: leimaohui <leimaohui@fujitsu.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [PATCH] open-iscsi-user: Fix conflict error with systemd and net-snmp-server-snmptrapd.
Date: Tue, 7 Jun 2022 10:05:08 -0400 [thread overview]
Message-ID: <20220607140508.GD54262@gmail.com> (raw)
In-Reply-To: <1654571706-3858-1-git-send-email-leimaohui@fujitsu.com>
merged to master and kirkstone.
Bruce
In message: [meta-virtualization] [PATCH] open-iscsi-user: Fix conflict error with systemd and net-snmp-server-snmptrapd.
on 07/06/2022 leimaohui wrote:
> - reinstall service files
> - deleted older version
>
> Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
> ---
> .../open-iscsi/open-iscsi-user_2.1.4.bb | 60 ----------------------
> .../open-iscsi/open-iscsi-user_2.1.7.bb | 10 ++++
> 2 files changed, 10 insertions(+), 60 deletions(-)
> delete mode 100644 meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb
>
> 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
> deleted file mode 100644
> index 928290f..0000000
> --- a/meta-openstack/recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb
> +++ /dev/null
> @@ -1,60 +0,0 @@
> -DESCRIPTION = "Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720."
> -HOMEPAGE = "http://www.open-iscsi.org/"
> -LICENSE = "GPL-2.0-only"
> -PR = "r1"
> -
> -inherit systemd autotools pkgconfig
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> -DEPENDS = "kmod openssl util-linux open-isns"
> -DEPENDS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
> -
> -SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https;branch=master \
> - file://0001-fix-build-error-of-cross-build.patch \
> - "
> -
> -SRCREV = "095f59ca464220eae285de6b5f2ee31185a6a84c"
> -
> -S = "${WORKDIR}/git"
> -B = "${S}"
> -
> -TARGET_CC_ARCH += "${LDFLAGS}"
> -EXTRA_OEMAKE += "CONFIGURE_ARGS='--host=${HOST_SYS}'"
> -
> -do_configure () {
> - :
> -}
> -
> -do_compile () {
> - oe_runmake user
> -}
> -
> -do_install () {
> - oe_runmake DESTDIR="${D}" install_user
> - install ${S}/etc/initd/initd.debian ${D}/etc/init.d/open-iscsi
> - install -m 0644 ${S}/etc/iscsid.conf ${D}/etc/iscsi/
> -
> - install -d ${D}${libdir}
> - install -Dm 0644 ${S}/libopeniscsiusr/libopeniscsiusr.so.0.2.0 ${D}${libdir}/
> - ln -sf ${libdir}/libopeniscsiusr.so.0.2.0 ${D}${libdir}/libopeniscsiusr.so
> -}
> -
> -# systemd support
> -PACKAGES =+ "${PN}-systemd"
> -RDEPENDS:${PN} += "bash"
> -RDEPENDS:${PN}-systemd += "${PN}"
> -FILES:${PN}-systemd += "${base_libdir}/systemd \
> - ${sysconfdir}/default/iscsi-initiator \
> - "
> -SYSTEMD_PACKAGES = "${PN}-systemd"
> -SYSTEMD_SERVICE:${PN}-systemd = "iscsi.service \
> - iscsiuio.service \
> - iscsid.service \
> - iscsi-init.service \
> - iscsid.socket \
> - iscsiuio.socket "
> -
> -do_install:append () {
> - install -d ${D}${systemd_unitdir}/system
> - install -m 0644 ${S}/etc/systemd/* ${D}${systemd_unitdir}/system/
> -}
> 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
> index b4b9ebc..8cedff4 100644
> --- 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
> @@ -43,3 +43,13 @@ FILES:${PN} += " \
> ${systemd_system_unitdir}/iscsiuio.service \
> ${systemd_unitdir}/system-generators/ibft-rule-generator \
> "
> +
> +do_install:append() {
> + rm -rf ${D}${systemd_unitdir}/
> +
> + install -d ${D}${systemd_unitdir}/system
> + install -d ${D}${systemd_unitdir}/system-generators
> + install -m 0644 ${S}/etc/systemd/*.service ${D}${systemd_unitdir}/system/
> + install -m 0644 ${S}/etc/systemd/*.socket ${D}${systemd_unitdir}/system/
> + install -m 0644 ${S}/etc/systemd/ibft-rule-generator ${D}${systemd_unitdir}/system-generators/
> +}
> --
> 1.8.3.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7335): https://lists.yoctoproject.org/g/meta-virtualization/message/7335
> Mute This Topic: https://lists.yoctoproject.org/mt/91593585/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
prev parent reply other threads:[~2022-06-07 14:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 3:15 [meta-virtualization] [PATCH] open-iscsi-user: Fix conflict error with systemd and net-snmp-server-snmptrapd Lei Maohui
2022-06-07 14:05 ` Bruce Ashfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220607140508.GD54262@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=leimaohui@fujitsu.com \
--cc=meta-virtualization@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.