From 93d6131d0e91fba6304b27f3b6ef8c7579e0c0a8 Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Fri, 21 Feb 2020 10:33:38 -0600 Subject: [PATCH] trivial: debian: fix build for systems without UEFI Just dynamically find the binaries in usr/bin rather than hardcoding --- contrib/debian/fwupd.install | 6 +----- contrib/debian/rules | 5 ----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/contrib/debian/fwupd.install b/contrib/debian/fwupd.install index 1a8dec051..8e896eb59 100644 --- a/contrib/debian/fwupd.install +++ b/contrib/debian/fwupd.install @@ -1,8 +1,4 @@ -usr/bin/dfu-tool -usr/bin/fwupdmgr -usr/bin/fwupdagent -usr/bin/fwupdtool -usr/bin/fwupdtpmevlog +usr/bin/* etc/* usr/share/bash-completion usr/share/fwupd/* diff --git a/contrib/debian/rules b/contrib/debian/rules index 9025d9975..ca7185b3d 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -58,11 +58,6 @@ override_dh_install: #install the EFI binaries if needed if [ -d debian/tmp/usr/libexec/fwupd/efi/ ]; then \ dh_install -pfwupd usr/libexec/fwupd/efi ;\ - dh_install -pfwupd usr/bin/fwupdate; \ - fi - #if build with meson subproject in CI need to install this too - if [ ! -z "$$CI" ] && [ -f debian/tmp/usr/lib/xb-tool ]; then \ - dh_install -pfwupd usr/lib/xb-tool ;\ fi if [ ! -z "$$CI" ] && [ -f debian/tmp/usr/sbin/flashrom ]; then \ dh_install -pfwupd usr/sbin/flashrom ;\