[OE-core] [PATCH] util-linux.inc: add fallocate only for class-target

Andre McCurdy armccurdy at gmail.com
Thu Jul 26 23:58:00 UTC 2018


On Thu, Jul 26, 2018 at 4:34 PM, Burton, Ross <ross.burton at intel.com> wrote:
> On 26 July 2018 at 14:58, Ioan-Adrian Ratiu <adrian.ratiu at ni.com> wrote:
>> Because the util-linux_2.32.bb recipe explicitely disables fallocate
>> for nativesdk triggering build warnings:
>
> Does anyone know why util-linux disables fallocate for nativesdk and
> native builds?

Seems to date back to this commit:

  http://git.openembedded.org/openembedded-core/commit/?id=17f3c548caf4adec37c3bbb139aa6b3900419794

  +# fallocate is glibc 2.10, fallocate64 is glibc 2.11
  +# we need to disable it for older versions
  +EXTRA_OECONF += "ac_cv_func_fallocate=no"
  +EXTRA_OECONF_virtclass-native += "--disable-fallocate
--disable-use-tty-group"



More information about the Openembedded-core mailing list