[elbe-devel] [PATCH] debianize/kernel: Disable internal tests for kernel

yegorslists at googlemail.com yegorslists at googlemail.com
Fri Sep 4 11:22:39 CEST 2020


From: Yegor Yefremov <yegorslists at googlemail.com>

Kernel does not provide a "test" target, hence dh_auto_test would
fail. Overriding the dh_auto_test target solves this issue.

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
---
 elbepack/makofiles/debianize/kernel/rules.mako | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elbepack/makofiles/debianize/kernel/rules.mako b/elbepack/makofiles/debianize/kernel/rules.mako
index 618b9fd39..221a5fc6c 100755
--- a/elbepack/makofiles/debianize/kernel/rules.mako
+++ b/elbepack/makofiles/debianize/kernel/rules.mako
@@ -106,5 +106,7 @@ override_dh_auto_install:
 	ln -sf "/usr/src/linux-headers-$(REL)" "$(TMP_DIR)/lib/modules/$(REL)/build"
 	rm -f "$(DEB_DIR)/hdrsrcfiles" "$(DEB_DIR)/hdrobjfiles"
 
+override_dh_auto_test:
+
 %%:
 	dh $@
-- 
2.17.0



More information about the elbe-devel mailing list