]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: do variable fixups even when FILES was set
authorPeter Seebach <peter.seebach@windriver.com>
Mon, 8 Dec 2014 23:53:59 +0000 (17:53 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Dec 2014 17:54:13 +0000 (17:54 +0000)
commit7e59b0c7e03fc08a6eaf9c8ccb6bfa72b4604cc5
tree0cd3865241016dd29a6351f73c9f3b6bd8a91721
parent6956ffdc6e9879e32360b6ee3a3d286618807485
package.bbclass: do variable fixups even when FILES was set

A number of settings (DESCRIPTION, SUMMARY, postinst, postrm,
and appends to RDEPENDS) were made only if FILES_foo was not
set for a given package. If you had a modified glibc packaging
setup that was defining FILES_glibc-gconv-somelocale, this would
prevent the automatic append of glibc-gconv as a dependency,
because extra_depends was ignored.

I think the assumption may have been that if FILES_foo was set,
DESCRIPTION_foo and SUMMARY_foo would also be set, but it seems
to me that the right answer is probably to set them if they aren't
already set, and leave them alone if they are.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/package.bbclass