[oe] [oe-commits] Richard Purdie : package_rpm: Add custom extension support for spec generation.

Burton, Ross ross.burton at intel.com
Wed Sep 3 10:16:34 UTC 2014


Actually, that patch has a typo in the logic:

+    extra_pkgdata = (d.getVar("RPM_EXTRA_PKGDATA", True) or "0") == "0"

== "1", surely.

Ross

On 3 September 2014 11:15, Burton, Ross <ross.burton at intel.com> wrote:
> On 3 September 2014 02:51, Hongxu Jia <hongxu.jia at windriver.com> wrote:
>> Exception: NameError: global name 'package_rpm_extra_pkgdata' is not defined
>
> If you set the variable you also need to provide the function.
>
> Ross



More information about the Openembedded-devel mailing list