Include Binary Files in DEB package
Posted
by
user22611
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user22611
Published on 2014-06-03T15:56:44Z
Indexed on
2014/06/04
9:38 UTC
Read the original article
Hit count: 323
I need to build a DEB package from mainly Node.js Javascript files, but it should include some binary files as well. They are listed inside debian/source/include-binaries. Otherwise I get the error message
dpkg-source: error: unrepresentable changes to source
The command in question is:
bzr builddeb -- -us -uc
After adding the file include-binaries, when running bzr builddeb -- -us -uc again, now I get a different error: It says
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/mailadmin_0.0-1.diff.n6m5_6
I have no idea how to get rid of this.
In the next line of output it tells me
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
But if I run this command in the build area of my package, it gives me the unrepresentable changes to source error message again, even though debian/source/include-binaries is present in the build area as well.
I am missing the way out of this...
I tried deleting all files that are produced by the build process, still no success.
Further details:
The target directory is /opt/mailadmin. Since this directory is unusual, I listed it in the file debian/mailadmin.install (which contains one line:)
opt/mailadmin opt/
The bzr builddeb process uses this file as expected.
© Ask Ubuntu or respective owner