Skip to content
Commit 9e1907d7 authored by Michael Ho's avatar Michael Ho Committed by Richard Purdie
Browse files

package_rpm.bbclass: add PACKAGE_ADD_METADATA_RPM to sstate variables



Refactor the addition of vardeps for this package class to use RPMEXTRAVARS
and pass the items through gen_packagevar so package name specific overrides
are accounted for. This matches the style used in package_ipk.bbclass. Since
do_package_write_rpm does not have any "extra vars" that affect the rpm
packaging yet, this commit has to add the variable.

This refactoring is needed to add PACKAGE_ADD_METADATA_RPM to RPMEXTRAVARS
so it affects the sstate hash of do_package_write_rpm.

Signed-off-by: default avatarMichael Ho <Michael.Ho@bmw.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent e669141c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment