Skip to content

Commit

Permalink
setup.py: also install u-boot-tools.links file
Browse files Browse the repository at this point in the history
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@linutronix.de>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
  • Loading branch information
torbenh3 committed Oct 1, 2019
1 parent 4606c00 commit 8345363
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -64,6 +64,7 @@ def run(self):
package_data={'elbepack': ["makofiles/*.mako",
"makofiles/debianize/*/*.mako",
"makofiles/debianize/*/*.install",
"makofiles/debianize/*/*.links",
"makofiles/debianize/*/copyright",
"init/*.mako",
"init/*.xml",
Expand Down

0 comments on commit 8345363

Please sign in to comment.