[oe-commits] [openembedded-core] 05/05: util-linux: Enable fallocate for native/nativesdk

git at git.openembedded.org git at git.openembedded.org
Wed Aug 1 09:07:53 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 07a4557ae5954897c87749443b9262819bc9c579
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Jul 31 13:18:40 2018 +0100

    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.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/util-linux/util-linux.inc     | 3 +--
 meta/recipes-core/util-linux/util-linux_2.32.bb | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 9ac8bd6..9d52ed9 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -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"
diff --git a/meta/recipes-core/util-linux/util-linux_2.32.bb b/meta/recipes-core/util-linux/util-linux_2.32.bb
index 55cc98c..4af7f87 100644
--- a/meta/recipes-core/util-linux/util-linux_2.32.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.32.bb
@@ -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 \
 "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list