]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Add custom extension support for spec generation.
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Sep 2014 16:32:26 +0000 (17:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Sep 2014 16:51:44 +0000 (17:51 +0100)
commit03ac91815013c0e85c4694b3ab849257e658aeba
treeafdd729eed5b44069da401762ba21f8bbb7bf12c
parent9dc1e2c5724b6eeda87edceac16d2e7107577f5a
package_rpm: Add custom extension support for spec generation.

Add hooks to allow customisation of the rpm spec files. Since python functions
aren't visible in the data store, one variable is used to trigger the call to
a separately named function. A dummy function is not provided since this then
triggers various class ordering complexities which are best avoided.

Ultimately this will be replaced by a refactor of the code to generate the
spec file using a python class.

This allows the tizen layer to add hooks for the security manifests for
example.

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