git: fix do_install error
cover git: fix do_install error
The following changes since commit 8e3e36bcafcb7a97006f8cc49e51c3a5b8e51a65:
build-appliance-image: Update to dizzy head revision (2014-10-02 00:43:03 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/git
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/git
Robert Yang (1):
git: fix do_install error
meta/recipes-devtools/git/git.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/1 git: fix do_install error
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.
--- meta/recipes-devtools/git/git.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta/recipes-devtools/git/git.inc +5 -2
@@ -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"
Signature · 1 line
1.7.9.5
Quoted 7 lines · Robert Yang
Fixed when MACHINE = qemux86-64 and libdir =
/usr/lib64:
mv: cannot stat `/path/to/image/usr/lib64/perl-native/perl': No such file or directoryThe perl-native files are always installed to
/usr/libon both 32/64 bits targets.Signed-off-by Robert Yang <[email protected]>
Richard,
This should get into rc4 if possible, I am surprised we did not see a failure on the autobuilder.
Sau!
Quoted 23 lines
--- meta/recipes-devtools/git/git.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)meta/recipes-devtools/git/git.inc +5
-2@@ -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"
Quoted 7 lines · Robert Yang
Fixed when MACHINE = qemux86-64 and libdir =
/usr/lib64:
mv: cannot stat `/path/to/image/usr/lib64/perl-native/perl': No such file or directoryThe perl-native files are always installed to
/usr/libon both 32/64 bits targets.Signed-off-by Robert Yang <[email protected]>
Quoted 22 lines
--- meta/recipes-devtools/git/git.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)meta/recipes-devtools/git/git.inc +5
-2@@ -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"