From 0c124198cf57cfacade7a2f086218eebb8cf89c9 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Wed, 7 Aug 2019 20:40:17 +0000 Subject: [PATCH] linux/efa: Fix build issue in debian/rules file efa kernel module is supposed to build/install by dkms on the target systems. dh_auto_install tries to build before installing, so repalce override_dh_install with override dh_auto_install to skip build. Also add an echo command to explicitly show we are skipping build step. Signed-off-by: Jie Zhang Reviewed-by: Robert Wespetal Signed-off-by: Gal Pressman --- kernel/linux/efa/debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/linux/efa/debian/rules b/kernel/linux/efa/debian/rules index bd550da6..88b21046 100755 --- a/kernel/linux/efa/debian/rules +++ b/kernel/linux/efa/debian/rules @@ -21,8 +21,9 @@ override_dh_auto_clean: dh_clean override_dh_auto_build: + echo "Skip build" -override_dh_install: +override_dh_auto_install: mkdir -p ${DESTDIR}/${INSTALL_PATH} install -D -m 644 conf/efa.conf ${DESTDIR}/etc/modules-load.d/efa.conf install -D -m 644 conf/efa-modprobe.conf ${DESTDIR}/etc/modprobe.d/efa.conf