trivial: debian: fix build for systems without UEFI

Just dynamically find the binaries in usr/bin rather than hardcoding
This commit is contained in:
Mario Limonciello 2020-02-21 10:33:38 -06:00
parent 9113f3edd1
commit 93d6131d0e
2 changed files with 1 additions and 10 deletions

View File

@ -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/*

View File

@ -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 ;\