aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux_2.28.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2016-06-15 14:25:16 +0800
committerChen Qi <Qi.Chen@windriver.com>2016-06-17 11:33:21 +0800
commit37ce8eaba328c8312072cc877cbbf04c595d12ca (patch)
tree31aba3b26311accd88146be7c3fd04bd17ec1cd8 /meta/recipes-core/util-linux/util-linux_2.28.bb
parent9cc3d71a9624333bd6c3c676ee2b855be1903568 (diff)
downloadopenembedded-core-contrib-ChenQi/PU-20160617.tar.gz
util-linux: upgrade to 2.28ChenQi/PU-20160617
ptest is disabled as the related codes are changed a lot, and the related patches are removed. util-linux-ng-2.16-mount_lock_path.patch is removed because there's no _PATH_MOUNTED_LOCK in the latest codes. util-linux-native.patch is removed because 2.28 version of util-linux has taken mkostemp into consideration and provide fallback if mkostemp fails. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux_2.28.bb')
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.28.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.28.bb b/meta/recipes-core/util-linux/util-linux_2.28.bb
new file mode 100644
index 0000000000..fa93b4692b
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux_2.28.bb
@@ -0,0 +1,26 @@
+MAJOR_VERSION = "2.28"
+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} \
+"
+SRC_URI[md5sum] = "e534e6ccc49107e5d31c329af798ef7d"
+SRC_URI[sha256sum] = "395847e2a18a2c317170f238892751e73a57104565344f8644090c8b091014bb"
+
+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 \
+"