[OE-core] [PATCH V3] util-linux: replace += with _append to EXTRA_OECONF_class-native

Ming Liu ming.liu at windriver.com
Fri Jul 26 01:25:19 UTC 2013


On 07/25/2013 08:55 PM, Koen Kooi wrote:
> Op 22 jul. 2013, om 05:48 heeft Saul Wold <sgw at linux.intel.com> het volgende geschreven:
>
>> On 07/17/2013 06:54 PM, Ming Liu wrote:
>>> The native/nativesdk overrides of EXTRA_OECONF should take effect before
>>> append operator, otherwise, it will cause EXTRA_OECONF be overridden instead
>>> of be appended at native/nativesdk build time.
>>>
>>> Signed-off-by: Ming Liu <ming.liu at windriver.com>
>>> ---
>>>   meta/recipes-core/util-linux/util-linux_2.23.1.bb |    4 ++--
>>>   1 files changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/meta/recipes-core/util-linux/util-linux_2.23.1.bb b/meta/recipes-core/util-linux/util-linux_2.23.1.bb
>>> index 12f5021..3040476 100644
>>> --- a/meta/recipes-core/util-linux/util-linux_2.23.1.bb
>>> +++ b/meta/recipes-core/util-linux/util-linux_2.23.1.bb
>>> @@ -18,5 +18,5 @@ SRC_URI[md5sum] = "6741eeaff93ff5a6bacdd3816bdd87c4"
>>>   SRC_URI[sha256sum] = "ad4a7831d7b27d0172996fd343e809716c2403b32a94e15194d8ea797223c4af"
>>>
>>>   CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=as"
>>> -EXTRA_OECONF_class-native += "--disable-fallocate --disable-use-tty-group"
>>> -EXTRA_OECONF_class-nativesdk += "--disable-fallocate --disable-use-tty-group"
>>> +EXTRA_OECONF_append_class-native = " --disable-fallocate --disable-use-tty-group"
>>> +EXTRA_OECONF_append_class-nativesdk = " --disable-fallocate --disable-use-tty-group"
>>>
>> While this seems correct, it is causing some down stream issues with e2fsprogs-native and not finding the uuid library
> I ran into this when backporting fixes for texinfoand gcc 4.8 hosts from master to danny and I used this hack:
>
> 	https://github.com/Angstrom-distribution/oe-core/commit/9cd55347769555e89374e83d011196ae5450204a
>
> Not pretty, but it only affects the -native builds.

This hack may work for e2fsprogs-native because it uses a internal 
libuuid instead of detecting it in system, but it doesn't hit the root 
cause of this issue, as I described in this thread.

the best,
thank you
>
> regards,
>
> Koen
>




More information about the Openembedded-core mailing list