[oe-commits] [openembedded-core] 13/103: git: fix installed-vs-shipped QA Issue

git at git.openembedded.org git at git.openembedded.org
Sun Feb 28 11:35:13 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 2b82a475a7c8310f432b872e9d1e5eca262a03ee
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Fri Feb 19 00:54:44 2016 -0500

    git: fix installed-vs-shipped QA Issue
    
    Since commit set default libexecdir to $prefix/libexec
    ...
    commit f35b2e29d9bfa817e64b83df11ebbbfe0f4e8e5c
    Author: Ross Burton <ross.burton at intel.com>
    Date:   Tue Apr 30 20:35:54 2013 +0100
    
        bitbake: set default libexecdir to $prefix/libexec
    ...
    
    It casued '${D}${libdir}' does not exist, and the following
    move operation incorrect which triggered QA Issue:
    ...
    ERROR: git-2.7.0-r0 do_package: QA Issue: git: Files/directories were installed but not shipped in any package:
      /usr/lib64
      /usr/lib64/site_perl
      /usr/lib64/site_perl/5.22.1
    ...
    
    Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/git/git.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index c19e0d4..a1d0300 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -50,6 +50,8 @@ perl_native_fixup () {
 
 	# ${libdir} is not applicable here, perl-native files are always
 	# installed to /usr/lib on both 32/64 bits targets.
+
+	mkdir -p ${D}${libdir}
 	mv ${D}${exec_prefix}/lib/perl-native/perl ${D}${libdir}
 	rmdir -p ${D}${exec_prefix}/lib/perl-native || true
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list