From dcd154881aca5e1762e81c27aa0d50914a57cb4b Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Wed, 13 Jan 2021 11:22:15 -0600 Subject: [PATCH] trivial: debian: fix modules-load.d directory Fixes: #2755 --- contrib/debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/debian/rules b/contrib/debian/rules index 0458c33fc..84eb85031 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -70,8 +70,9 @@ override_dh_install: dh_install #install the EFI binaries if needed [ ! -d debian/tmp/usr/libexec/fwupd/efi/ ] || dh_install -pfwupd usr/libexec/fwupd/efi - #install MSR conf if needed + #install MSR conf if needed (depending on distro) [ ! -d debian/tmp/usr/lib/modules-load.d ] || dh_install -pfwupd usr/lib/modules-load.d + [ ! -d debian/tmp/lib/modules-load.d ] || dh_install -pfwupd lib/modules-load.d dh_missing -a --fail-missing #this is placed in fwupd-tests