All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amarnath Valluri <amarnath.valluri@intel.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-filesystem] aufs-utils: Replace install paths with appropriate bitbake environment
Date: Wed, 22 Feb 2017 16:55:05 +0200	[thread overview]
Message-ID: <f278bc10-a22d-0db5-4f40-caf37f3ab9f8@intel.com> (raw)
In-Reply-To: <1486559865-23488-1-git-send-email-amarnath.valluri@intel.com>

ping - reminder request for feedback

On 08.02.2017 15:17, Amarnath Valluri wrote:
> autf-utils Makefile is using hardcoded /bin, /sbin paths, instead we should
> respect the bitbake environment. This change makes the recipe portable to
> environments where ${base_bindir} != /bin or ${base_sbindir} != /sbin.
>
> Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
> ---
>   meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb | 7 +++++++
>   1 file changed, 7 insertions(+)
>
> diff --git a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb
> index 8980980..3d59e50 100644
> --- a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb
> +++ b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb
> @@ -18,6 +18,13 @@ PV = "3.14+git${SRCPV}"
>   
>   S = "${WORKDIR}/git"
>   
> +do_configure_prepend() {
> +   # Replace sbin,bin paths with bitbake environment
> +   sed -i -e 's;install_sbin: Tgt = ${DESTDIR}/sbin;install_sbin: Tgt = ${DESTDIR}/${base_sbindir};' \
> +          -e 's;install_ubin: Tgt = ${DESTDIR}/usr/sbin;install_sbin: Tgt = ${DESTDIR}/${bindir};' \
> +	  ${S}/Makefile
> +}
> +
>   do_configure_append () {
>       install -d ${S}/include/linux/
>       cp ${WORKDIR}/aufs_type.h ${S}/include/linux/



      reply	other threads:[~2017-02-22 14:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-08 13:17 [meta-filesystem] aufs-utils: Replace install paths with appropriate bitbake environment Amarnath Valluri
2017-02-22 14:55 ` Amarnath Valluri [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=f278bc10-a22d-0db5-4f40-caf37f3ab9f8@intel.com \
    --to=amarnath.valluri@intel.com \
    --cc=openembedded-devel@lists.openembedded.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.