diff mbox series

[meta-swupdate] Do not use wildcards for tools

Message ID 1507544942-612-1-git-send-email-sbabic@denx.de
State Accepted
Headers show
Series [meta-swupdate] Do not use wildcards for tools | expand

Commit Message

Stefano Babic Oct. 9, 2017, 10:29 a.m. UTC
Explicitely set the filename of the tools to be installed.
Using wildcards has the drawback that additional files could be installed
and it can conflict with other files that user can be defined.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 recipes-support/swupdate/swupdate_tools.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate_tools.inc b/recipes-support/swupdate/swupdate_tools.inc
index 5836611..d270dd4 100644
--- a/recipes-support/swupdate/swupdate_tools.inc
+++ b/recipes-support/swupdate/swupdate_tools.inc
@@ -2,7 +2,10 @@  PACKAGES =+ "${PN}-tools"
 
 INSANE_SKIP_${PN}-tools = "ldflags"
 
-FILES_${PN}-tools = "${bindir}/swupdate-*"
+FILES_${PN}-tools = "${bindir}/swupdate-client \
+                    ${bindir}/swupdate-progress \
+                    ${bindir}/swupdate-hawkbitcfg \
+                    ${bindir}/swupdate-sendtohawkbit"
 
 do_compile() {
   unset LDFLAGS