summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-31 13:18:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-01 10:07:22 +0100
commit7df8a4f834e059e5beddc9f7bedec4f4a5a668d3 (patch)
tree5d1b85e20698e6f20e87a00963112ec8e46b86db /meta/recipes-core
parent6049b9b19bdf8980f2de6670b03715ad00b9737f (diff)
downloadpoky-7df8a4f834e059e5beddc9f7bedec4f4a5a668d3.tar.gz
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc3
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.32.bb2
2 files changed, 1 insertions, 4 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 9ac8bd6f79..9d52ed935f 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"
207 207
208ALTERNATIVE_${PN} = "dmesg kill more mkswap blockdev pivot_root switch_root" 208ALTERNATIVE_${PN} = "dmesg kill more mkswap blockdev pivot_root switch_root"
209ALTERNATIVE_${PN} += "hexdump last lastb logger mesg renice wall unshare" 209ALTERNATIVE_${PN} += "hexdump last lastb logger mesg renice wall unshare"
210ALTERNATIVE_${PN} += "setsid chrt flock utmpdump eject nologin taskset" 210ALTERNATIVE_${PN} += "setsid chrt flock utmpdump eject nologin taskset fallocate"
211ALTERNATIVE_${PN}_append_class-target = " fallocate"
212 211
213ALTERNATIVE_LINK_NAME[dmesg] = "${base_bindir}/dmesg" 212ALTERNATIVE_LINK_NAME[dmesg] = "${base_bindir}/dmesg"
214ALTERNATIVE_LINK_NAME[kill] = "${base_bindir}/kill" 213ALTERNATIVE_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 55cc98c200..4af7f873b9 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
21CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms" 21CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
22 22
23EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \ 23EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \
24 --disable-fallocate \
25 --disable-use-tty-group \ 24 --disable-use-tty-group \
26" 25"
27EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF} \ 26EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF} \
28 --disable-fallocate \
29 --disable-use-tty-group \ 27 --disable-use-tty-group \
30" 28"