mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 19:37:17 +00:00
trivial: debian: fix build for systems without UEFI
Just dynamically find the binaries in usr/bin rather than hardcoding
This commit is contained in:
parent
9113f3edd1
commit
93d6131d0e
@ -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/*
|
||||
|
@ -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 ;\
|
||||
|
Loading…
Reference in New Issue
Block a user