glennric
November 21st, 2009, 12:03 AM
I am trying to build a package from some sources that I have. In the past either using "fakeroot debian/rules binary" or dpkg-buildpackage give debs that seem to have the same functionality. I usually use "fakeroot debian/rules binary" to test if the rules file and such work, and then I use pbuilder for a proper build. Of course pbuilder used dpkg-buildpackage. The package I am working on building (it happens to be d2x-xl) only contains one binary executable file that is installed to /usr/bin. Both methods build the package, but with dpkg-buildpackage the resulting executable file is about .2 megs smaller. This would be good news if it weren't for the fact that some of the functionality of the program is lost.
So what I want to know is what is it that dpkg-buildpackage does to the executable binary in this package that "fakeroot debian/rules binary" does not do, and is there a way to override this so that dpkg-buildpackage doesn't do it?
So what I want to know is what is it that dpkg-buildpackage does to the executable binary in this package that "fakeroot debian/rules binary" does not do, and is there a way to override this so that dpkg-buildpackage doesn't do it?