[oe-commits] Nitin A Kamble : git: fix packaging warnings

git at git.openembedded.org git at git.openembedded.org
Mon Mar 19 13:41:46 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: b2dcb79c8c713ffb25d49a355fdb1bfa97d3c10d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b2dcb79c8c713ffb25d49a355fdb1bfa97d3c10d

Author: Nitin A Kamble <nitin.a.kamble at intel.com>
Date:   Fri Mar 16 11:53:19 2012 -0700

git: fix packaging warnings

This commits fixes these packaging warnings
 WARNING: For recipe git, the following files/directories were installed
but not shipped in any package:
 WARNING:   /usr/lib/perl-native
 WARNING:   /usr/lib/perl-native/perl
 WARNING:   /usr/lib/perl-native/perl/5.14.2
 WARNING:   /usr/lib/perl-native/perl/5.14.2/Git.pm
 WARNING:   /usr/lib/perl-native/perl/5.14.2/perllocal.pod
 WARNING:   /usr/lib/perl-native/perl/5.14.2/auto
 WARNING:   /usr/lib/perl-native/perl/5.14.2/auto/Git
 WARNING:   /usr/lib/perl-native/perl/5.14.2/auto/Git/.packlist

PR not bumped because no change in the output packages.

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>

---

 meta/recipes-devtools/git/git.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index ca13ffd..be3831b 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -16,6 +16,7 @@ do_install () {
 	oe_runmake install DESTDIR="${D}" bindir=${bindir} \
 		template_dir=${datadir}/git-core/templates \
 		GIT_PYTHON_DIR=${D}${datadir}/git-core/python
+	rm -rf ${D}${libdir}/perl-native
 }
 
 do_install_append_virtclass-native() {
@@ -47,6 +48,7 @@ RDEPENDS_${PN}-perltools = "${PN} perl perl-module-file-path findutils"
 PACKAGES =+ "${PN}-python"
 FILES_${PN}-python = "${libdir}/python*"
 
+
 # git-tk package with gitk and git-gui
 PACKAGES =+ "${PN}-tk"
 #RDEPENDS_${PN}-tk = "${PN} tk tcl"





More information about the Openembedded-commits mailing list