From 2020ba7c48793c2a628d90b63fd91d5c283de5ca Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Wed, 5 Nov 2014 12:03:33 +0200 Subject: ltp: update to 20140828 release bump SRCREV to 20140828 tag drop automake-foreign patch - fixed upstream (commit 18594de and edbae29) add add-know-for-tirpc patch - workaround ftbfs with libtirpc found update realtime tests fixes upstream status from submitted to backported - merged upstream (From OE-Core rev: a1dacd52d8bad948dcea3c39278da1d87e3167af) Signed-off-by: Fathi Boudra Signed-off-by: Richard Purdie --- ...sts-Fix-bad-priority-inheritance-conditio.patch | 2 +- ...ltime-tests-Fix-robust-mutex-conditionals.patch | 2 +- .../ltp/ltp/add-knob-for-tirpc.patch | 37 ++++++++++++++++++++++ .../ltp/ltp/automake-foreign.patch | 20 ------------ 4 files changed, 39 insertions(+), 22 deletions(-) create mode 100644 meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch delete mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch (limited to 'meta/recipes-extended/ltp/ltp') diff --git a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch index fa20b085f7..631f9265ec 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch @@ -9,7 +9,7 @@ both referenced a non-existent autoconf configuration setting variable. Replaced the invalid variable name with the variable actually created by autoconf. -Upstream-Status: Submitted +Upstream-Status: Backported Signed-off-by: Gary S. Robertson --- diff --git a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch index ccdd4d0bb3..1fdd281013 100644 --- a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch +++ b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch @@ -9,7 +9,7 @@ which were not generated by autoconf in order to configure tests for robust mutexes. Changed these conditionals to use the config variables actually generated in the autoconf process. -Upstream-Status: Submitted +Upstream-Status: Backported Signed-off-by: Gary S. Robertson --- diff --git a/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch b/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch new file mode 100644 index 0000000000..36ff4c775d --- /dev/null +++ b/meta/recipes-extended/ltp/ltp/add-knob-for-tirpc.patch @@ -0,0 +1,37 @@ +[PATCH] add knob to control whether tirpc support should be checked + +Upstream-Status: Pending + +tirpc support is broken upstream. in the meantime, allow to disable tirpc. + +Signed-off-by: Fathi Boudra +--- + configure.ac | 9 +++++++++ + 1 file changed, 9 insertions(+) + +--- a/configure.ac ++++ b/configure.ac +@@ -98,6 +98,13 @@ if test "x$with_python" = xyes; then + else + AC_SUBST([WITH_PYTHON],["no"]) + fi ++ ++# TI RPC ++AC_ARG_WITH([tirpc], ++ AC_HELP_STRING([--without-tirpc], ++ [without libtirpc support]), ++ [],[with_tirpc=yes], ++) + # END tools knobs + + # Testsuites knobs +@@ -182,7 +189,9 @@ LTP_CHECK_RENAMEAT + LTP_CHECK_FALLOCATE + LTP_CHECK_SYSCALL_FCNTL + LTP_CHECK_SYSCALL_PERF_EVENT_OPEN ++if test "x$with_tirpc" = xyes; then + LTP_CHECK_TIRPC ++fi + LTP_CHECK_TEE + LTP_CHECK_SPLICE + LTP_CHECK_VMSPLICE diff --git a/meta/recipes-extended/ltp/ltp/automake-foreign.patch b/meta/recipes-extended/ltp/ltp/automake-foreign.patch deleted file mode 100644 index c3dd891395..0000000000 --- a/meta/recipes-extended/ltp/ltp/automake-foreign.patch +++ /dev/null @@ -1,20 +0,0 @@ -Use foreign strictness to avoid automake errors. - -Upstream-Status: Submitted (https://github.com/linux-test-project/ltp/issues/16) -Signed-off-by: Ross Burton - -diff --git a/configure.ac b/configure.ac -index 9f397e7..fc57957 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4 +4 @@ --AM_INIT_AUTOMAKE -+AM_INIT_AUTOMAKE([foreign]) ---- a/utils/ffsb-6.0-rc2/configure.in -+++ b/utils/ffsb-6.0-rc2/configure.in -@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure script. --AC_INIT(main.c) --AM_INIT_AUTOMAKE(ffsb, 6.0-RC2) -+AC_INIT([ffsb], [6.0-RC2]) -+AC_CONFIG_SRCDIR([main.c]) -+AM_INIT_AUTOMAKE([foreign]) -- cgit v1.2.3-54-g00ecf