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.

(From OE-Core rev: b2dcb79c8c713ffb25d49a355fdb1bfa97d3c10d)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Nitin A Kamble 2012-03-16 11:53:19 -07:00 committed by Richard Purdie
parent 4fa8a67aa7
commit 49f05afa7f
1 changed files with 2 additions and 0 deletions

View File

@ -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"