diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2011-09-16 10:28:27 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-16 17:23:41 +0100 |
commit | cb19503139b9102f02ba3e5be63d5e85f280f2ef (patch) | |
tree | 299ad67465a536a457b4a5b2fe76824db223f908 /meta/recipes-kernel/update-modules | |
parent | d06781eab16881d2206a3306c66a0c4c1e178dde (diff) | |
download | openembedded-core-cb19503139b9102f02ba3e5be63d5e85f280f2ef.tar.gz openembedded-core-cb19503139b9102f02ba3e5be63d5e85f280f2ef.tar.bz2 openembedded-core-cb19503139b9102f02ba3e5be63d5e85f280f2ef.tar.xz openembedded-core-cb19503139b9102f02ba3e5be63d5e85f280f2ef.zip |
package.bbclass: fix spurious 'installed but not shipped' warning
For packages that have files installed that aren't in a subdirectory,
the following build WARNING is emitted (this for initramfs-live-boot
as an example):
WARNING: For recipe initramfs-live-boot, the following files were
installed but not shipped in any package:
WARNING: init
The problem is that the filenames added to the 'seen' array are always
added with a path separator at the beginning of the filename, but when
the package dir is walked for comparison, any files at the top-level
will be missing the beginning path separator and the comparison will
fail despite the fact that the file was actually packaged. This
because the remainder between the dirname and the dvar base name is
used in the path join and in the case of files at the top-level, the
remainder is the empty string, where it should be '/' for comparison
purposes.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/update-modules')
0 files changed, 0 insertions, 0 deletions