具体错误类似:
dpkg-source: error: add files/libtest.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
幸运的找到了一篇文章,找到解决办法:
http://www.voidcn.com/article/p-xnxjbmks-bup.html
echo dpkg-source dpkg-source \ --include-binaries \ --include-removal \ -b . echo dpkg-buildpackage dpkg-buildpackage \ --source-option=--include-binaries \ --source-option=-isession \ -us -uc -nc