Patchwork [CONSOLIDATED,PULL,17/22] util-linux: Enable fallocate and use CACHED_CONFIGUREVARS

login
register
mail settings
Submitter Saul Wold
Date Jan. 10, 2012, 5:54 a.m.
Message ID <98b25f7f4e8141bfbadded14db44b947fed68fab.1326174744.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/18869/
State New
Headers show

Comments

Saul Wold - Jan. 10, 2012, 5:54 a.m.
From: Khem Raj <raj.khem@gmail.com>

fallocate is implemented in eglibc 2.11 and all eglibc
we use are greater than 2.11 so drop disabling it.

Use CACHED_CONFIGUREVARS to specify scanf_cv_type_modifier=as

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/util-linux/util-linux_2.20.1.bb |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

Patch

diff --git a/meta/recipes-core/util-linux/util-linux_2.20.1.bb b/meta/recipes-core/util-linux/util-linux_2.20.1.bb
index aa2c6ff..ed445d7 100644
--- a/meta/recipes-core/util-linux/util-linux_2.20.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.20.1.bb
@@ -1,5 +1,5 @@ 
 MAJOR_VERSION = "2.20"
-PR = "r1"
+PR = "r2"
 require util-linux.inc
 
 # note that `lscpu' is under GPLv3+
@@ -39,9 +39,7 @@  do_remove_lscpu() {
 
 addtask remove_lscpu before do_configure after do_patch
 
-# 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 scanf_cv_type_modifier=as"
+CACHED_CONFIGUREVARS += "scanf_cv_type_modifier=as"
 EXTRA_OECONF_virtclass-native += "--disable-fallocate --disable-use-tty-group"
 
 do_install_append () {