util-linux: Enable fallocate for native/nativesdk

fallocate was disabled for native/nativesdk in:

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

We have since added uninative support and better glibc handling for SDKs
so this difference can be dropped now.

(From OE-Core rev: 07a4557ae5954897c87749443b9262819bc9c579)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2018-07-31 13:18:40 +01:00
parent 6049b9b19b
commit 7df8a4f834
2 changed files with 1 additions and 4 deletions

View File

@@ -207,8 +207,7 @@ ALTERNATIVE_PRIORITY = "80"
ALTERNATIVE_${PN} = "dmesg kill more mkswap blockdev pivot_root switch_root"
ALTERNATIVE_${PN} += "hexdump last lastb logger mesg renice wall unshare"
ALTERNATIVE_${PN} += "setsid chrt flock utmpdump eject nologin taskset"
ALTERNATIVE_${PN}_append_class-target = " fallocate"
ALTERNATIVE_${PN} += "setsid chrt flock utmpdump eject nologin taskset fallocate"
ALTERNATIVE_LINK_NAME[dmesg] = "${base_bindir}/dmesg"
ALTERNATIVE_LINK_NAME[kill] = "${base_bindir}/kill"

View File

@@ -21,10 +21,8 @@ SRC_URI[sha256sum] = "6c7397abc764e32e8159c2e96042874a190303e77adceb4ac5bd502a27
CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \
--disable-fallocate \
--disable-use-tty-group \
"
EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF} \
--disable-fallocate \
--disable-use-tty-group \
"