From: "Peter A. Bigot" <pab@pabigot.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] git: fix do_install error
Date: Wed, 08 Oct 2014 19:03:42 -0500 [thread overview]
Message-ID: <5435D0DE.3050507@pabigot.com> (raw)
In-Reply-To: <f179be5fbb3674fdb89904ec8e2e14b9849a2cfb.1412755402.git.liezhi.yang@windriver.com>
On 10/08/2014 03:04 AM, Robert Yang wrote:
> Fixed when MACHINE = qemux86-64 and libdir = /usr/lib64:
> mv: cannot stat `/path/to/image/usr/lib64/perl-native/perl': No such file or directory
>
> The perl-native files are always installed to /usr/lib on both 32/64
> bits targets.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Acked-by: Peter A. Bigot <pab@pabigot.com>
> ---
> meta/recipes-devtools/git/git.inc | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
> index 2515833..5396628 100644
> --- a/meta/recipes-devtools/git/git.inc
> +++ b/meta/recipes-devtools/git/git.inc
> @@ -36,8 +36,11 @@ perl_native_fixup () {
> sed -i -e 's#${STAGING_BINDIR_NATIVE}/perl-native/#${bindir}/#' \
> -e 's#${libdir}/perl-native/#${libdir}/#' \
> ${@d.getVar("PERLTOOLS", True).replace(' /',d.getVar('D', True) + '/')}
> - mv ${D}${libdir}/perl-native/perl ${D}${libdir}
> - rmdir ${D}${libdir}/perl-native || true
> +
> + # ${libdir} is not applicable here, perl-native files are always
> + # installed to /usr/lib on both 32/64 bits targets.
> + mv ${D}${exec_prefix}/lib/perl-native/perl ${D}${libdir}
> + rmdir -p ${D}${exec_prefix}/lib/perl-native || true
> }
>
> REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core"
prev parent reply other threads:[~2014-10-09 0:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 8:04 [PATCH 0/1] git: fix do_install error Robert Yang
2014-10-08 8:04 ` [PATCH 1/1] " Robert Yang
2014-10-08 23:11 ` Saul Wold
2014-10-09 0:03 ` Peter A. Bigot [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=5435D0DE.3050507@pabigot.com \
--to=pab@pabigot.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox