Skip to content

Commit

Permalink
linux/efa: Fix build issue in debian/rules file
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Robert Wespetal <[email protected]>
Signed-off-by: Gal Pressman <[email protected]>
  • Loading branch information
zhngaj authored and gal-pressman committed Aug 8, 2019
1 parent c75769a commit 0c12419
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/linux/efa/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c12419

Please sign in to comment.