aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/insserv/files/disable_runtests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/insserv/files/disable_runtests.patch')
-rw-r--r--meta/recipes-devtools/insserv/files/disable_runtests.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/insserv/files/disable_runtests.patch b/meta/recipes-devtools/insserv/files/disable_runtests.patch
new file mode 100644
index 0000000000..4e4084881a
--- /dev/null
+++ b/meta/recipes-devtools/insserv/files/disable_runtests.patch
@@ -0,0 +1,18 @@
+# Disable the make check runtime tests, which cannot be run when
+# cross-compiled.
+#
+# Signed-off-by: Scott Garman <scott.a.garman@intel.com>
+diff -urN insserv-1.14.0.orig//Makefile insserv-1.14.0/Makefile
+--- insserv-1.14.0.orig//Makefile 2010-11-28 17:12:01.715597293 -0800
++++ insserv-1.14.0/Makefile 2010-11-28 17:16:33.837780660 -0800
+@@ -119,8 +119,8 @@
+ ifeq ($(ISSUSE),-DSUSE)
+ issuse=true tests/common
+ # issuse=true tests/suse
+-else
+- tests/common
++#else
++# tests/common
+ endif
+
+ install: $(TODO) check