[oe-commits] Denys Dmytriyenko : util-linux-ng: disable building fallocate and chgrp-ing wall for -native

git version control git at git.openembedded.org
Mon Mar 29 06:37:20 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f1ca258e4523b52314600232aa936906cc2bf8fe
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f1ca258e4523b52314600232aa936906cc2bf8fe

Author: Denys Dmytriyenko <denis at denix.org>
Date:   Mon Mar 29 02:29:12 2010 -0400

util-linux-ng: disable building fallocate and chgrp-ing wall for -native

Fixes following build/install errors on Ubuntu 8.04:
1. Cannot find linux/falloc.h header
2. Cannot chgrp tty wall on install

Signed-off-by: Denys Dmytriyenko <denis at denix.org>

---

 recipes/util-linux-ng/util-linux-ng_2.17.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/util-linux-ng/util-linux-ng_2.17.bb b/recipes/util-linux-ng/util-linux-ng_2.17.bb
index 00a044e..9b40ee1 100644
--- a/recipes/util-linux-ng/util-linux-ng_2.17.bb
+++ b/recipes/util-linux-ng/util-linux-ng_2.17.bb
@@ -1,6 +1,6 @@
 require util-linux-ng.inc
 
-PR = "${INC_PR}"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://uclibc-compile.patch;patch=1 \
 	    file://util-linux-ng-replace-siginterrupt.patch;patch=1 \
@@ -9,6 +9,7 @@ SRC_URI += "file://uclibc-compile.patch;patch=1 \
 # 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"
 
 SRC_URI[archive.md5sum] = "11cc8a0138019e7060dd275d47dbc096"
 SRC_URI[archive.sha256sum] = "8720f7233394b68d17095707c195ebb014943c1075a18fb5fd21ec108f012be3"





More information about the Openembedded-commits mailing list