]> 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>
Wed, 31 Dec 2014 10:17:50 +0000 (10:17 +0000)
commit860e91dd7cfca6afd08d7c3c62e4653fca2b790c
tree9c16c396230c882e2200f3fd2e9e93ff5757d9ff
parent162996ed5a12786a2a5255ebafa15291bcc328cf
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.

(From OE-Core rev: 7e59b0c7e03fc08a6eaf9c8ccb6bfa72b4604cc5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/package.bbclass