From 4cae425facdfbc0853187702e44faca4e328ebfe Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Mon, 6 Nov 2017 14:10:16 +0800 Subject: 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 Signed-off-by: Ross Burton --- meta/recipes-core/util-linux/util-linux_2.31.bb | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta/recipes-core/util-linux/util-linux_2.31.bb (limited to 'meta/recipes-core/util-linux/util-linux_2.31.bb') 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 \ +" -- cgit 1.2.3-korg