Skip to contentSkip to conversation

util-linux: Enable fallocate for native/nativesdk

PATCH In review Richard Purdie 2 participants 2 messages Jul 31, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 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(-)
meta/recipes-core/util-linux/util-linux.inc +1 -2
index 9ac8bd6f798..9d52ed935f5 100644
@@ -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"
meta/recipes-core/util-linux/util-linux_2.32.bb +0 -2
index 55cc98c2002..4af7f873b93 100644
@@ -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 \
 "
Signature · 1 line
2.17.1
#1 lore raw

✗ patchtest: failure for util-linux: Enable fallocate for native/nativesdk

== Series Details ==

Series: util-linux: Enable fallocate for native/nativesdk
Revision: 1
URL : https://patchwork.openembedded.org/series/13325/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 51a09ba272)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe