summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux_2.31.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2017-11-06 14:10:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-08 19:54:23 +0000
commit4cae425facdfbc0853187702e44faca4e328ebfe (patch)
tree2f36cd00423084fb2897a5b9bb29baa8bea515bc /meta/recipes-core/util-linux/util-linux_2.31.bb
parent1eb2a9c2f48d3af13ce651f1adf024b3380299d1 (diff)
downloadopenembedded-core-4cae425facdfbc0853187702e44faca4e328ebfe.tar.gz
util-linux: upgrade to 2.31
The utility 'reset' is removed in this new version. A new utility 'rfkill' is added in this new version. Recipe is modified to remove reset and add rfkill according to the above changes in new version. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux_2.31.bb')
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.31.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.31.bb b/meta/recipes-core/util-linux/util-linux_2.31.bb
new file mode 100644
index 0000000000..a83919b5ac
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux_2.31.bb
@@ -0,0 +1,31 @@
+MAJOR_VERSION = "2.31"
+require util-linux.inc
+
+# To support older hosts, we need to patch and/or revert
+# some upstream changes. Only do this for native packages.
+OLDHOST = ""
+OLDHOST_class-native = "file://util-linux-native-qsort.patch"
+
+SRC_URI += "file://configure-sbindir.patch \
+ file://runuser.pamd \
+ file://runuser-l.pamd \
+ ${OLDHOST} \
+ file://ptest.patch \
+ file://run-ptest \
+ file://display_testname_for_subtest.patch \
+ file://avoid_parallel_tests.patch \
+"
+SRC_URI_append_class-native = " file://no_getrandom.patch"
+SRC_URI[md5sum] = "5b6821c403c3cc6e7775f74df1882a20"
+SRC_URI[sha256sum] = "f9be7cdcf4fc5c5064a226599acdda6bdf3d86c640152ba01ea642d91108dc8a"
+
+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 \
+"