I'm a bit confused about the above and hoped someone could help me out.
what is the difference between the two - 'dpkg-deb' and 'dpkg-buildpackage'?
Am I right in saying ... 'dpkg-buildpackage' uses debhelper i.e. debian/rules and 'dpkg-deb' does not?
Also where does 'debuild' fit into all of this?
dpkg-buildpackage is a script that helps automate the process of building a package.
dpkg-deb can create a package from a directory containing Debian control information, but can do other things besides such as display information about a deb package or extract its contents.
I don't have a lot of experience with packaging, but as I understand it you can create a package either by creating the Debian control information and the proper directory structure and then running dpkg-deb, or you can run dpkg-buildpackage and supply the information in the command.
assuming the source build tree has been created
'dpkg-buildpackage' script requires a debian/rules file
'dpkg-deb' does not use debian/rules (dbhelper)
I understand now - needed to play with it a bit - debuild is a wrapper for dpkg-buildpackage, lintian and linda
vBulletin ©2000 - 2024, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project.
User contributions on this site are licensed under the
Creative Commons Attribution Share Alike 4.0 International License
. For details and our forum data attribution, retention and privacy policy, see
here