summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux_2.25.2.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-12-30 15:39:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 15:36:50 +0000
commit0f8c09193ecb183715e99782da2f093ea62a9864 (patch)
treeb3fce47b7b0cb8aa41c1b9ebcda099612d9238ba /meta/recipes-core/util-linux/util-linux_2.25.2.bb
parent09aa2b1ed85408939a8bae433c032ea5da7cc7a5 (diff)
downloadpoky-0f8c09193ecb183715e99782da2f093ea62a9864.tar.gz
util-linux: upgrade to 2.25.2
fix-configure.patch is removed as it's not appropriate, and the new version of util-linux has solved the problem this patch is trying to solve. util-linux-ensure-the-existence-of-directory-for-PAT.patch is removed as the new version of util-linux has solved the problem this patch is trying to solve. util-linux-native.patch is rebased. util-linux-ng-replace-siginterrupt.patch is rebased. Add PACKAGECONFIG for 'pylibmount' to build out python bindings for libmount optionally. util-linux-pylibmount is added to PACKAGES if PACKAGECONFIG has 'pylibmount' in it. Fix PACAGECONFIG for 'systemd' as the new version has changed things related to systemd. Now util-linux would have a dependency on systemd if 'systemd' is in PACKAGECONFIG. Fix SYSTEMD_PACKAGES, SYSTEMD_SERVICE and SYSTEMD_AUTO_ENABLE variable to match the new version. Four lines in do_compile task are deleted because they caused do_compile failure and nowhere in util-linux are they used. Corresponding files are also removed. (From OE-Core rev: 264e2fde3a8624c87d2451d2752c9f3ed8911672) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux_2.25.2.bb')
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.25.2.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.25.2.bb b/meta/recipes-core/util-linux/util-linux_2.25.2.bb
new file mode 100644
index 0000000000..697b9000c0
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux_2.25.2.bb
@@ -0,0 +1,30 @@
1MAJOR_VERSION = "2.25"
2require util-linux.inc
3PR = "r1"
4
5# To support older hosts, we need to patch and/or revert
6# some upstream changes. Only do this for native packages.
7OLDHOST = ""
8OLDHOST_class-native = "file://util-linux-native.patch \
9 file://util-linux-native-qsort.patch \
10 "
11
12SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \
13 file://util-linux-ng-2.16-mount_lock_path.patch \
14 file://uclibc-__progname-conflict.patch \
15 file://configure-sbindir.patch \
16 file://fix-parallel-build.patch \
17 ${OLDHOST} \
18"
19
20SRC_URI[md5sum] = "cab3d7be354000f629bc601238b629b3"
21SRC_URI[sha256sum] = "e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6"
22
23CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
24
25EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \
26 --disable-fallocate --disable-use-tty-group \
27"
28EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF} \
29 --disable-fallocate --disable-use-tty-group \
30"