summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-05-24 15:57:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-31 16:52:42 +0100
commitcb5cdcaf3310e889e80861ccfaf46c1bce624ac1 (patch)
tree7e8095b2e15ca1a8eb68f19dc6d3da04cdc10a19 /meta/recipes-connectivity/bind
parentf1d436577d6029de8cb0a470e124dc2f4a3cd4cd (diff)
downloadopenembedded-core-cb5cdcaf3310e889e80861ccfaf46c1bce624ac1.tar.gz
base: add ability to provide further details when using LICENSE_FLAGS
Recipes with proprietary licenses often need to use LICENSE_FLAGS so that the user can opt-in with consent. However, if you don't consent then the error simply tells you the license identifier but not further context. Add a new variable LICENSE_FLAGS_DETAILS, which will be looked in for a flag with the name of the licence. If found then the contents are printed as a source of further details. For example, a recipe with an EULA may set: LICENSE_FLAGS = "FooBar-EULA" LICENSE_FLAGS_DETAILS[FooBar-EULA] = "https://example.com/eula" If Foobar-EULA isn't in LICENSE_FLAGS_ACCEPTED then the error message is more useful: Has a restricted license 'FooBar-EULA' which is not listed in your LICENSE_FLAGS_ACCEPTED. For further details, see https://example.com/eula. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind')
0 files changed, 0 insertions, 0 deletions