* [meta-virtualization] [PATCH] open-iscsi-user: Fix link errors
@ 2021-07-27 13:44 zangrc
2021-07-29 15:03 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: zangrc @ 2021-07-27 13:44 UTC (permalink / raw)
To: meta-virtualization
The wrong link caused conflicts with other packages, so the link error was fixed and the conflict handling was removed.
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
---
.../open-iscsi/open-iscsi-user_2.1.4.bb | 8 +-------
1 file changed, 1 insertion(+), 7 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 73b5a66..b71d8dc 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
@@ -29,12 +29,6 @@ do_compile () {
oe_runmake user
}
-inherit update-alternatives
-
-ALTERNATIVE_PRIORITY = "60"
-ALTERNATIVE_${PN}-dev = "libcap-ng.so"
-ALTERNATIVE_LINK_NAME[libcap-ng.so] = "${libdir}/libcap-ng.so"
-
do_install () {
oe_runmake DESTDIR="${D}" install_user
install ${S}/etc/initd/initd.debian ${D}/etc/init.d/open-iscsi
@@ -42,7 +36,7 @@ do_install () {
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}/libcap-ng.so
+ ln -sf ${libdir}/libopeniscsiusr.so.0.2.0 ${D}${libdir}/libopeniscsiusr.so
}
# systemd support
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization] [PATCH] open-iscsi-user: Fix link errors
2021-07-27 13:44 [meta-virtualization] [PATCH] open-iscsi-user: Fix link errors zangrc
@ 2021-07-29 15:03 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2021-07-29 15:03 UTC (permalink / raw)
To: zangrc; +Cc: meta-virtualization
merged.
Bruce
In message: [meta-virtualization] [PATCH] open-iscsi-user: Fix link errors
on 27/07/2021 zangrc wrote:
> The wrong link caused conflicts with other packages, so the link error was fixed and the conflict handling was removed.
>
> Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
> ---
> .../open-iscsi/open-iscsi-user_2.1.4.bb | 8 +-------
> 1 file changed, 1 insertion(+), 7 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 73b5a66..b71d8dc 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
> @@ -29,12 +29,6 @@ do_compile () {
> oe_runmake user
> }
>
> -inherit update-alternatives
> -
> -ALTERNATIVE_PRIORITY = "60"
> -ALTERNATIVE_${PN}-dev = "libcap-ng.so"
> -ALTERNATIVE_LINK_NAME[libcap-ng.so] = "${libdir}/libcap-ng.so"
> -
> do_install () {
> oe_runmake DESTDIR="${D}" install_user
> install ${S}/etc/initd/initd.debian ${D}/etc/init.d/open-iscsi
> @@ -42,7 +36,7 @@ do_install () {
>
> 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}/libcap-ng.so
> + ln -sf ${libdir}/libopeniscsiusr.so.0.2.0 ${D}${libdir}/libopeniscsiusr.so
> }
>
> # systemd support
> --
> 2.25.1
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-29 15:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-27 13:44 [meta-virtualization] [PATCH] open-iscsi-user: Fix link errors zangrc
2021-07-29 15:03 ` Bruce Ashfield
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.