util-linux-ng: disable building fallocate and chgrp-ing wall for -native
authorDenys Dmytriyenko <denis@denix.org>
Mon, 29 Mar 2010 06:29:12 +0000 (02:29 -0400)
committerDenys Dmytriyenko <denis@denix.org>
Mon, 29 Mar 2010 06:37:05 +0000 (02:37 -0400)
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@denix.org>
recipes/util-linux-ng/util-linux-ng_2.17.bb

index 00a044e..9b40ee1 100644 (file)
@@ -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"