[elbe-devel] [PATCH 2/2] setup.py: also install u-boot-tools.links file

Torben Hohn torben.hohn at linutronix.de
Mon Sep 30 11:36:35 CEST 2019


setup.py only installs *.py files automatically,
other files need to be specifically mentioned.

the u-boot-tools.links file was not installed, but its referenced via
debian/elbe-debianize.install, resulting in build failure:

-----------------------------------------------------------------------------------
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
dh_install: Cannot find (any matches for) "./usr/lib/python2.*/*-packages/elbepack/makofiles/debianize/u-boot/u-boot-tools.links" (tried in "." and "debian/tmp")
dh_install: elbe-debianize missing files: ./usr/lib/python2.*/*-packages/elbepack/makofiles/debianize/u-boot/u-boot-tools.links
dh_install: missing files, aborting
debian/rules:28: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:32: recipe for target 'binary' failed
-----------------------------------------------------------------------------------

fix it.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.py b/setup.py
index 9e483c9b7..d657f3119 100644
--- a/setup.py
+++ b/setup.py
@@ -64,6 +64,7 @@ setup(name='elbe',
       package_data={'elbepack': ["makofiles/*.mako",
                                  "makofiles/debianize/*/*.mako",
                                  "makofiles/debianize/*/*.install",
+                                 "makofiles/debianize/*/*.links",
                                  "makofiles/debianize/*/copyright",
                                  "init/*.mako",
                                  "init/*.xml",
-- 
2.20.1




More information about the elbe-devel mailing list