diff -urN origs/insserv-1.14.0/debian/patches/130_crossbuild_fixes.patch patched/insserv-1.14.0/debian/patches/130_crossbuild_fixes.patch
--- origs/insserv-1.14.0/debian/patches/130_crossbuild_fixes.patch	1970-01-01 00:00:00.000000000 +0000
+++ patched/insserv-1.14.0/debian/patches/130_crossbuild_fixes.patch	2012-03-29 18:03:05.000000000 +0000
@@ -0,0 +1,28 @@
+Description: Separate check from install so checks can be made optional
+ In order to support DEB_BUILD_OPTIONS=nocheck cleanly the install and
+ check targets are best separated
+. 
+Author: Wookey <wookey@linaro.org>
+Last-Update: 2012-03-29
+
+Index: insserv-1.14.0/Makefile
+===================================================================
+--- insserv-1.14.0.orig/Makefile	2012-03-29 19:02:05.000000000 +0100
++++ insserv-1.14.0/Makefile	2012-03-29 19:03:01.000000000 +0100
+@@ -38,7 +38,6 @@
+ 	LDFLAGS += -Wl,--as-needed
+ 	   LIBS += -lrpm
+ endif
+-	     CC = gcc
+ 	     RM = rm -f
+ 	  MKDIR = mkdir -p
+ 	  RMDIR = rm -rf
+@@ -134,7 +133,7 @@
+ 	tests/common
+ endif
+ 
+-install:	$(TODO) check
++install:	$(TODO)
+ 	$(MKDIR)   $(SBINDIR)
+ 	$(MKDIR)   $(SDOCDIR)
+ 	$(MKDIR)   $(CONFDIR)
diff -urN origs/insserv-1.14.0/debian/patches/series patched/insserv-1.14.0/debian/patches/series
--- origs/insserv-1.14.0/debian/patches/series	2012-03-29 18:28:20.000000000 +0000
+++ patched/insserv-1.14.0/debian/patches/series	2012-03-29 18:19:51.000000000 +0000
@@ -6,3 +6,4 @@
 92_m68k_alignment.patch
 #100_show.patch
 110_portmap.patch
+130_crossbuild_fixes.patch
\ No newline at end of file
diff -urN origs/insserv-1.14.0/debian/rules patched/insserv-1.14.0/debian/rules
--- origs/insserv-1.14.0/debian/rules	2012-03-29 18:28:20.000000000 +0000
+++ patched/insserv-1.14.0/debian/rules	2012-03-29 18:21:40.000000000 +0000
@@ -6,6 +6,12 @@
 
 PACKAGE = insserv
 
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+       CC=gcc
+else
+       CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS = -g -O0
 else
@@ -29,11 +35,12 @@
 	dh_testdir
 
 	# Add here commands to compile the package.
-	$(MAKE) COPTS="$(CFLAGS)"
+	$(MAKE) CC=$(CC) COPTS="$(CFLAGS)"
 
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	chmod a+rx debian/run-testsuite
 	debian/run-testsuite
-
+endif
 	touch build-stamp
 
 clean:
@@ -55,6 +62,9 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/$(PACKAGE).
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	$(MAKE) check
+endif
 	$(MAKE) install COPTS="$(CFLAGS)" DESTDIR=$(DESTDIR)
 
 	# Install overrides if present
