All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: wangmy <wangmy@fujitsu.com>
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization] [PATCH] open-iscsi-user: use update-alternatives for libcap-ng.so
Date: Tue, 20 Jul 2021 22:52:54 -0400	[thread overview]
Message-ID: <20210721025253.GB44485@gmail.com> (raw)
In-Reply-To: <1626829868-1763-1-git-send-email-wangmy@fujitsu.com>

merged.

Bruce

In message: [meta-virtualization] [PATCH] open-iscsi-user: use update-alternatives for libcap-ng.so
on 21/07/2021 wangmy wrote:

> libcap-ng also uses the doc 'libcap-ng.so'.
> 
> libcap-ng has a priority of 100.
> 
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../recipes-connectivity/open-iscsi/open-iscsi-user_2.1.4.bb | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> 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 139ce1db..a05004a1 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,6 +29,11 @@ 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
> -- 
> 2.25.1
> 

> 
> 
> 


      reply	other threads:[~2021-07-21  2:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21  1:11 [meta-virtualization] [PATCH] open-iscsi-user: use update-alternatives for libcap-ng.so wangmy
2021-07-21  2:52 ` 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=20210721025253.GB44485@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    --cc=wangmy@fujitsu.com \
    /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.