]> code.ossystems Code Review - openembedded-core.git/commit
license: Drop adding RRECOMMENDS for license packages
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Jul 2021 16:50:53 +0000 (17:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Jul 2021 13:58:32 +0000 (14:58 +0100)
commit5348ffce46d6706b7bb10e41a59e0f6cf16c62b0
tree96d86c230dbd703cc01ee25284e34b4a321f7c6e
parent42ebda0c85f14f9f8a508f59115b141d645d4c77
license: Drop adding RRECOMMENDS for license packages

This changes behaviour when LICENSE_CREATE_PACKAGE is in use. Packages
no longer have RRECOMMENDS adding to them.

It was highlighted that this doesn't apply to PACKAGES_DYNAMIC, nor can
it easily be made to do so. There is also a much easier way to handle this
which is:

IMAGE_INSTALL_COMPLEMENTARY += "*-lic"

which works on a per image basis and doesn't change the underlying
package dependencies. I propose we switch to this instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass